From d341585f0815ee94c4a8f48f3017947dcc423531 Mon Sep 17 00:00:00 2001 From: "Miskiewicz, Piotr" Date: Tue, 9 Jul 2019 09:05:00 +0200 Subject: [PATCH] Remove GCP Broker --- .../chart/azure-service-broker/values.yaml | 4 +- bundles/gcp-service-broker-0.0.2/README.md | 10 -- .../chart/gcp-service-broker/.helmignore | 21 --- .../chart/gcp-service-broker/Chart.yaml | 10 -- .../gcp-service-broker/templates/_helpers.tpl | 32 ---- .../gcp-service-broker/templates/docs.yaml | 125 --------------- .../templates/docu/job.yaml | 54 ------- .../templates/docu/role-binding.yaml | 17 -- .../templates/docu/role.yaml | 13 -- .../gcp-service-broker/templates/docu/sa.yaml | 11 -- .../gcp-service-broker/templates/pod.yaml | 27 ---- .../templates/post-install-job.yaml | 32 ---- .../templates/pre-delete-job.yaml | 36 ----- .../templates/role-binding.yaml | 17 -- .../gcp-service-broker/templates/role.yaml | 32 ---- .../gcp-service-broker/templates/sa.yaml | 11 -- .../chart/gcp-service-broker/values.yaml | 9 -- .../docs/bigquery/docs/overview.md | 11 -- .../docs/bigquery/docs/plans-details.md | 51 ------ .../assets/gcp-broker-deprovisioning.svg | 2 - .../assets/gcp-broker-key-management.svg | 2 - .../broker/assets/gcp-broker-provisioning.svg | 2 - .../docs/broker/overview.md | 30 ---- .../docs/broker/plans-details.md | 67 -------- .../docs/cloud-bigtable/docs/overview.md | 10 -- .../docs/cloud-bigtable/docs/plans-details.md | 79 ---------- .../docs/overview.md | 10 -- .../docs/plans-details.md | 38 ----- .../docs/cloud-pubsub/docs/overview.md | 10 -- .../docs/cloud-pubsub/docs/plans-details.md | 59 ------- .../docs/cloud-spanner/docs/overview.md | 10 -- .../docs/cloud-spanner/docs/plans-details.md | 49 ------ .../docs/cloud-sql-mysql/docs/overview.md | 10 -- .../cloud-sql-mysql/docs/plans-details.md | 145 ------------------ .../google-cloud-storage/docs/overview.md | 10 -- .../docs/plans-details.md | 96 ------------ .../gcp-service-broker-0.0.2/docs/meta.yaml | 9 -- bundles/gcp-service-broker-0.0.2/meta.yaml | 13 -- .../plans/default/create-instance-schema.json | 12 -- .../plans/default/meta.yaml | 4 - .../plans/default/values.yaml | 0 bundles/index.yaml | 4 - 42 files changed, 2 insertions(+), 1192 deletions(-) delete mode 100644 bundles/gcp-service-broker-0.0.2/README.md delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/.helmignore delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/Chart.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/_helpers.tpl delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docs.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/job.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role-binding.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/sa.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pod.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/post-install-job.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pre-delete-job.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role-binding.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/sa.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/values.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-deprovisioning.svg delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-key-management.svg delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-provisioning.svg delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/broker/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/broker/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/overview.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/plans-details.md delete mode 100644 bundles/gcp-service-broker-0.0.2/docs/meta.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/meta.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/plans/default/create-instance-schema.json delete mode 100644 bundles/gcp-service-broker-0.0.2/plans/default/meta.yaml delete mode 100644 bundles/gcp-service-broker-0.0.2/plans/default/values.yaml diff --git a/bundles/azure-service-broker-0.0.1/chart/azure-service-broker/values.yaml b/bundles/azure-service-broker-0.0.1/chart/azure-service-broker/values.yaml index 49433c64..2178c40d 100755 --- a/bundles/azure-service-broker-0.0.1/chart/azure-service-broker/values.yaml +++ b/bundles/azure-service-broker-0.0.1/chart/azure-service-broker/values.yaml @@ -79,6 +79,6 @@ redis: # Jobs configuration jobs: kubectlImage: - repository: eu.gcr.io/kyma-project/develop/gcp-broker-provider - tag: 237ba00f + repository: eu.gcr.io/kyma-project/test-infra/alpine-kubectl + tag: v20190325-ff66a3a pullPolicy: IfNotPresent diff --git a/bundles/gcp-service-broker-0.0.2/README.md b/bundles/gcp-service-broker-0.0.2/README.md deleted file mode 100644 index b0e9269b..00000000 --- a/bundles/gcp-service-broker-0.0.2/README.md +++ /dev/null @@ -1,10 +0,0 @@ -## Overview - -The GCP Service Broker bundle installs the [Google Cloud Platform Service Broker](https://cloud.google.com/kubernetes-engine/docs/concepts/google-cloud-platform-service-broker) in a given Namespace. - -## Details - -The GCP Service Broker bundle contains one `default` plan. Binding is disabled for the ServiceInstance created by this plan. - -For more details about this bundle, see the [Overview](https://github.com/kyma-project/bundles/blob/master/bundles/gcp-service-broker-0.0.2/docs/broker/overview.md) document. -For more information about the provisioning and deprovisioning flow, see the ServiceClass [plans details](https://github.com/kyma-project/bundles/blob/master/bundles/gcp-service-broker-0.0.2/docs/broker/plans-details.md) documentation. diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/.helmignore b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/.helmignore deleted file mode 100644 index f0c13194..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/.helmignore +++ /dev/null @@ -1,21 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*~ -# Various IDEs -.project -.idea/ -*.tmproj diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/Chart.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/Chart.yaml deleted file mode 100644 index 53954c3b..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/Chart.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -version: 0.0.1 -appVersion: "0.0.1" -name: gcp-service-broker -description: A Helm chart for Kubernetes -keywords: -- gcp -- broker -- service-catalog -icon: https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/apple-icon.png diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/_helpers.tpl b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/_helpers.tpl deleted file mode 100644 index f67c40db..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/_helpers.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Expand the name of the chart. -*/}} -{{- define "gcp-broker-provider.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "gcp-broker-provider.fullname" -}} -{{- if .Values.fullnameOverride -}} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- if contains $name .Release.Name -}} -{{- .Release.Name | trunc 63 | trimSuffix "-" -}} -{{- else -}} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{- end -}} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "gcp-broker-provider.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docs.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docs.yaml deleted file mode 100644 index 6f872590..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docs.yaml +++ /dev/null @@ -1,125 +0,0 @@ -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: 8e0bbfa6-2cac-40b6-8adf-e5ee8dcbe4e8 - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: BigQuery - description: Documentation for BigQuery - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/bigquery/ ---- -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: b1de7f2f-1e84-44ae-b4f0-2dcb613c17c9 - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: Cloud Bigtable - description: Documentation for Cloud Bigtable - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/cloud-bigtable/ ---- -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: 5dcd0ba6-8df6-4a2a-b5fd-981d0aa76803 - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: Cloud IAM Service Account - description: Documentation for Cloud IAM Service Account - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/cloud-iam-service-account/ ---- -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: 6f4e8d17-4fde-45bd-9dcf-28bcb7eeea5c - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: Cloud Pub/Sub - description: Documentation for Cloud Pub/Sub - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/cloud-pubsub/ ---- -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: 4197a602-3eb9-4d40-8e21-0311a7a8eecb - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: Cloud Spanner - description: Documentation for Cloud Spanner - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/cloud-spanner/ ---- -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: 85c5e53a-d70b-480e-afd3-737b0b1329f3 - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: Cloud SQL - MySQL - description: Documentation for Cloud SQL - MySQL - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/cloud-sql-mysql/ ---- -apiVersion: cms.kyma-project.io/v1alpha1 -kind: DocsTopic -metadata: - name: e9776b6c-4022-41ec-8b83-7c368ed9c270 - labels: - cms.kyma-project.io/view-context: service-catalog - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} -spec: - displayName: Google Cloud Storage - description: Documentation for Google Cloud Storage - sources: - - type: markdown - name: documentation - mode: package - url: '{{ .Values.addonsRepositoryURL }}' - filter: docs/google-cloud-storage/ \ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/job.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/job.yaml deleted file mode 100644 index 43761eb3..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/job.yaml +++ /dev/null @@ -1,54 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: gcp-service-broker-docu-checker - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} - annotations: - "helm.sh/hook": post-install,post-upgrade - "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation -spec: - template: - metadata: - annotations: - sidecar.istio.io/inject: "false" - spec: - serviceAccountName: {{ include "gcp-broker-provider.fullname" . }}-docu-checker - restartPolicy: Never - containers: - - name: docu-checker - image: eu.gcr.io/kyma-project/test-infra/alpine-kubectl:v20190325-ff66a3a - imagePullPolicy: IfNotPresent - command: ["/bin/sh","-c"] - args: - - | - while true - do - echo "Get list of not ready DocsTopic:" - lines=$(kubectl get DocsTopic -l chart=${LABEL_CHART},release=${LABEL_RELEASE} -n ${NS} \ - --no-headers -o custom-columns=name:.metadata.name,phase:.status.phase | awk '$2!="Ready"' | wc -l) - - echo "Got ${lines} not ready Docs Topic" - - if [[ "${lines}" -eq "0" ]]; - then - echo "Every DocsTopic is processed. Completed." - exit 0 - fi - sleep 3 - echo "----" - done - - env: - - name: LABEL_CHART - value: {{ include "gcp-broker-provider.chart" . }} - - name: LABEL_RELEASE - value: {{ .Release.Name }} - - name: NS - valueFrom: - fieldRef: - fieldPath: metadata.namespace - diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role-binding.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role-binding.yaml deleted file mode 100644 index 19c5433d..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role-binding.yaml +++ /dev/null @@ -1,17 +0,0 @@ -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 -metadata: - name: {{ include "gcp-broker-provider.fullname" . }}-docu-checker - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -subjects: - - kind: ServiceAccount - name: {{ include "gcp-broker-provider.fullname" . }}-docu-checker - namespace: {{ .Release.Namespace }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: {{ include "gcp-broker-provider.fullname" . }}-docu-checker \ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role.yaml deleted file mode 100644 index 05eec408..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/role.yaml +++ /dev/null @@ -1,13 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1beta1 -metadata: - name: {{ include "gcp-broker-provider.fullname" . }}-docu-checker - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -rules: - - apiGroups: ["cms.kyma-project.io"] - resources: ["docstopics"] - verbs: ["list"] \ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/sa.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/sa.yaml deleted file mode 100644 index c0ba2f57..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/docu/sa.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "gcp-broker-provider.fullname" . }}-docu-checker - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} - - diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pod.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pod.yaml deleted file mode 100644 index b9cdf967..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pod.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: {{ include "gcp-broker-provider.fullname" . }}-create - annotations: - sidecar.istio.io/inject: "false" - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - serviceAccountName: {{ include "gcp-broker-provider.fullname" . }} - restartPolicy: Never - containers: - - name: installer - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["gcp-broker"] - args: ["--action", "provision"] - env: - - name: WORKING_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: GCP_SECRET_NAME - value: {{ .Values.secretName }} diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/post-install-job.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/post-install-job.yaml deleted file mode 100644 index 7f38c657..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/post-install-job.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ include "gcp-broker-provider.fullname" . }}-checker - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} - annotations: - "helm.sh/hook": post-install - "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation -spec: - backoffLimit: 1 - template: - metadata: - annotations: - sidecar.istio.io/inject: "false" - spec: - serviceAccountName: {{ include "gcp-broker-provider.fullname" . }} - restartPolicy: Never - containers: - - name: installer - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["status-checker"] - args: ["--max-retries", "40", "--sleep-duration-sec", "3"] - env: - - name: WORKING_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pre-delete-job.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pre-delete-job.yaml deleted file mode 100644 index f73a1e82..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/pre-delete-job.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ include "gcp-broker-provider.fullname" . }}-delete - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} - annotations: - "helm.sh/hook": pre-delete - "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation -spec: - backoffLimit: 1 - template: - metadata: - annotations: - sidecar.istio.io/inject: "false" - spec: - serviceAccountName: {{ include "gcp-broker-provider.fullname" . }} - restartPolicy: Never - containers: - - name: installer - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["gcp-broker"] - args: ["--action", "deprovision"] - env: - - name: RELEASE_NAME - value: {{ .Release.Name }} - - name: GCP_SECRET_NAME - value: {{ .Values.secretName }} - - name: WORKING_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role-binding.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role-binding.yaml deleted file mode 100644 index cab71759..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role-binding.yaml +++ /dev/null @@ -1,17 +0,0 @@ -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1beta1 -metadata: - name: {{ include "gcp-broker-provider.fullname" . }} - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -subjects: -- kind: ServiceAccount - name: {{ include "gcp-broker-provider.fullname" . }} - namespace: {{ .Release.Namespace }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: {{ include "gcp-broker-provider.fullname" . }} diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role.yaml deleted file mode 100644 index 7a702c59..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/role.yaml +++ /dev/null @@ -1,32 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1beta1 -metadata: - name: {{ include "gcp-broker-provider.fullname" . }} - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -rules: -- apiGroups: [""] - resources: ["serviceaccounts", "namespaces", "pods"] - verbs: ["get", "patch", "create", "delete", "list"] -- apiGroups: ["rbac.authorization.k8s.io"] - resources: ["roles", "rolebindings"] - verbs: ["get", "patch", "create", "delete"] -- apiGroups: ["extensions"] - resources: ["deployments", "replicasets"] - verbs: ["get", "list", "patch", "create", "update", "delete"] -- apiGroups: ["servicecatalog.k8s.io"] - resources: ["servicebrokers"] - verbs: ["get","patch", "create", "delete"] -- apiGroups: ["batch"] - resources: ["jobs"] - verbs: ["get", "list", "update", "delete"] - -- apiGroups: [""] # required in roles created by `sc` tool - resources: ["namespaces"] - verbs: ["get","list","watch"] -- apiGroups: [""] # required in roles created by `sc` tool - resources: ["secrets"] - verbs: ["get","list", "watch", "create", "update", "patch", "delete"] diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/sa.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/sa.yaml deleted file mode 100644 index 5cb3ff21..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/templates/sa.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "gcp-broker-provider.fullname" . }} - labels: - app: {{ include "gcp-broker-provider.name" . }} - chart: {{ include "gcp-broker-provider.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} - - diff --git a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/values.yaml b/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/values.yaml deleted file mode 100644 index 9aaebc17..00000000 --- a/bundles/gcp-service-broker-0.0.2/chart/gcp-service-broker/values.yaml +++ /dev/null @@ -1,9 +0,0 @@ -image: - repository: eu.gcr.io/kyma-project/develop/gcp-broker-provider - tag: b54cc4c5 - pullPolicy: IfNotPresent - -nameOverride: "" -fullnameOverride: "" - -secretName: gcp-broker-data diff --git a/bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/overview.md deleted file mode 100644 index 0be761c6..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/overview.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Overview -type: Overview ---- - -Google **BigQuery** is a serverless, highly scalable enterprise data warehouse designed to make all your data analysts productive at an unmatched price-performance. -BigQuery allows you to capture and analyze data in real time using powerful streaming ingestion capability so that your insights are always up to date. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/plans-details.md deleted file mode 100644 index 9a035862..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/bigquery/docs/plans-details.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | BigQuery plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new BigQuery dataset. The provisioning parameters are as follows: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **datasetId** | `string` | A user-specified, unique ID for the BigQuery dataset. Must be 1-1024 characters long. Must contain only letters, numbers, or underscores. | YES | - | -| **defaultTableExpirationMs** | `string` | The default lifetime of all tables in the dataset in milliseconds. The minimum value is `3600000` milliseconds per one hour. Once this property is set, all newly-created tables in the dataset have the **expirationTime** property set to the creation time plus the value in the **defaultTableExpirationMs** parameter. Changing the value only affects new tables, not existing ones. When a given table reaches the **expirationTime**, that table is deleted automatically. If you modify or remove the table's **expirationTime** before the table expires, or if you provide an explicit **expirationTime** when creating a table, that value takes precedence over the default expiration time indicated by this property. | NO | `3600000` | -| **description** | `string` | A user-friendly description of the BigQuery dataset. | NO | - | -| **friendlyName** | `string` | A descriptive name for the BigQuery dataset. | NO | - | -| **labels** | `object` | To organize your project, add arbitrary labels as key/value pairs to the BigQuery dataset. Use labels to indicate different elements, such as Namespaces, services, or teams. | NO | - | -| **location** | `string` | The geographic location where the BigQuery dataset resides. The value can be either `US` or `EU`. | NO | `US` | - - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding parameters - -Binding to an instance grants the provided service account the access to the dataset or project. Optionally, you can create a new service account and add the access to the Cloud Spanner instance. These are the binding parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **createServiceAccount** | `boolean` | Create a new service account for BigQuery binding. | NO | `false` | -| **roles** | `array` | The list of BigQuery roles for the binding. Affects the level of access granted to the service account. These are the possible values: `roles/bigquery.dataOwner`, `roles/bigquery.dataEditor`, `roles/bigquery.dataViewer`, `roles/bigquery.user`, `roles/bigquery.jobUser`, `roles/bigquery.admin`. The items in the roles array must be unique, which means that you can specify a given role only once. | YES | - | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | YES | - | - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **datasetId** | `string` | The ID of the dataset. | -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **projectId** | `string` | The ID of the project. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | diff --git a/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-deprovisioning.svg b/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-deprovisioning.svg deleted file mode 100644 index e269104e..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-deprovisioning.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
true
true
GCLOUD 
config & auth
[Not supported by viewer]

check if Secret exists
[Not supported by viewer]
false
false
SC
remove-gcp-broker
[Not supported by viewer]
on-failure
on-failure
on-failure
on-failure
triggers deprovisioning action
triggers deprovisioning action
provisioning
fails
[Not supported by viewer]
provisioning succeeds
provisioning succeeds
SC
remove-gcp-broker
--skip-gcp-integration
[Not supported by viewer]
removes access keys
removes access keys
pre-delete
pre-delete<br>
Google Cloud Platform
Google Cloud Platform<br style="font-size: 13px">
1
1
5
5
2
2
3
3
4
4
6
6
\ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-key-management.svg b/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-key-management.svg deleted file mode 100644 index 3b2a19d9..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-key-management.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
<div style="text-align: left"></div>
<div style="text-align: left"></div>
root service account
(project owner)

[Not supported by viewer]

<br><div style="text-align: left"></div>
saved as Secret
in the Namespace 
saved as Secret<br>in the Namespace 
<div style="text-align: left"></div>
service account created
by bundle
(roles/servicebroker.operator)

[Not supported by viewer]
service account created
by bundle
(roles/servicebroker.operator)

[Not supported by viewer]
access key
[Not supported by viewer]
access key
[Not supported by viewer]
Namespace A
[Not supported by viewer]
Namespace B
[Not supported by viewer]
access key
(JSON file)

[Not supported by viewer]
saved as Secret
in the Namespace 
saved as Secret<br>in the Namespace 
\ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-provisioning.svg b/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-provisioning.svg deleted file mode 100644 index ad15dd66..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/broker/assets/gcp-broker-provisioning.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
true
true
GCLOUD 
config & auth
[Not supported by viewer]

check if Secret exists
[Not supported by viewer]
false
false
SC
add-gcp-broker
[Not supported by viewer]
on-failure
on-failure
on-failure
on-failure
triggers provisioning action
triggers provisioning action
POST INSTALL JOB
waits till the broker is ready
(max ~120s)

[Not supported by viewer]
triggers post-install
[Not supported by viewer]
provisioning
fails
[Not supported by viewer]
timeout
timeout
provisioning succeeds
provisioning succeeds
adds service account
and access keys
[Not supported by viewer]
Google Cloud Platform
Google Cloud Platform<br style="font-size: 13px">
1
1
5
5
6
6
2
2
3
3
4
4
\ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/docs/broker/overview.md b/bundles/gcp-service-broker-0.0.2/docs/broker/overview.md deleted file mode 100644 index 2f0ce55a..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/broker/overview.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Overview -type: Overview ---- - ->**NOTE:** To provision this class, first you must create a Secret. Read the following document to learn how. - -The Google Cloud Platform Service Broker class exposes services from the [Google Cloud Platform Service Broker](https://cloud.google.com/kubernetes-engine/docs/concepts/google-cloud-platform-service-broker) -in a given Namespace of the Kyma cluster. - -## Create a Secret - -To add the Google Cloud Platform Service Broker to your Namespace, you must prepare a service account and a -JSON access key. - -Follow these steps to create a Kubernetes Secret which contains a JSON access key: -1. Open https://console.cloud.google.com/ and select your project. -2. On the left pane, go to **IAM & admin** and select **Service accounts**. -3. Click **Create service account**, name your account, and click **Create**. -4. Set the `Project Owner` role. -5. Click **Create key** and choose `JSON` as a key type. -6. Save the `JSON` file. -7. Create a Secret from the JSON file by running this command: - ``` - kubectl create secret generic gcp-broker-data --from-file=sa-key={filename} --from-literal=project-name={gcp-project} --namespace {namespace} - ``` - -8. Click **Done**. - ->**NOTE:** You can provision only one instance of the Google Cloud Platform Service Broker in each Namespace. \ No newline at end of file diff --git a/bundles/gcp-service-broker-0.0.2/docs/broker/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/broker/plans-details.md deleted file mode 100644 index 8263d388..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/broker/plans-details.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The `GCP Service Broker` service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Default` | Installs the Google Cloud Platform (GCP) Service Broker in a default configuration. | - -### Provisioning parameters - -These are the provisioning parameters for the given plans: - -#### Default plan - -| Parameter Name | Display Name | Type | Description | Required | Default Value | -|----------------|---------|-----|-------------|:----------:|---------------| -| **secretName** | `GCP Secret name` | `string` | Defines the name of the Secret from which the Service Broker will try to fetch credentials. | YES | | - -## Provisioning - -The service account key is used to -generate service account keys used by brokers installed in different Namespaces. -The generated service account key has a **roles/servicebroker.operator** role and is -used during provisioning, deprovisioning, binding, and unbinding actions. - -![](assets/gcp-broker-key-management.svg) - -Provisioning and deprovisioning processes use the [GCP Broker Provider](https://github.com/kyma-project/kyma/tree/master/tools/gcp-broker-provider) tool. - -The provisioning process flow looks as follows: -1. The user triggers the provisioning action. -2. The provisioning script checks if Secret exists in a given Namespace and downloads it. -3. The script configures gcloud CLI basing on values from the Secret. -4. The script uses the [sc](https://github.com/kyma-incubator/k8s-service-catalog) CLI to add the GCP Broker to the Kyma cluster. -5. The `sc` CLI creates a service account and access key on the Google Cloud Platform. -6. After the provisioning process, the post-install job is triggered. - - -![GCP Broker Provisioning](assets/gcp-broker-provisioning.svg) - - -In the Service Catalog view, click **Google Cloud Platform Service Broker Provider**. -Provisioning of this class adds GCP Service Broker classes to the Service Catalog in a given Namespace. - -## Binding - -Binding to this Service Class is disabled. - -## Deprovisioning - -The deprovisioning process flow looks as follows: -1. The user triggers the deprovisioning action. -2. The provisioning script checks if Secret exists in a given Namespace and downloads it. - If Secret does not exist, the `sc` CLI is executed with the **--skip-gcp-integration** parameter (step 6). -3. The script configures gcloud CLI basing on values from the Secret. -4. The script uses [sc](https://github.com/kyma-incubator/k8s-service-catalog) CLI to remove the GCP Broker from the Kyma cluster. -5. `sc` CLI removes access keys from the Google Cloud Platform. - -![GCP Broker Deprovisioning](assets/gcp-broker-deprovisioning.svg) - - - diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/overview.md deleted file mode 100644 index 955db6db..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/overview.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Overview -type: Overview ---- - -**Cloud Bigtable** is a petabyte-scale, fully managed NoSQL database service for large analytical and operational workloads. Use Cloud Bigtable as the storage engine for large-scale, low-latency applications as well as throughput-intensive data processing and analytics. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/plans-details.md deleted file mode 100644 index 11b87170..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-bigtable/docs/plans-details.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | Bigtable plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new Cloud Bigtable cluster and instance. These are the input parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **clusters** | `array` | Defines the cluster properties. The amount of items in the cluster must equal 1. For more information, see the **Cluster properties** section. | YES | - | -| **displayName** | `string` | Cloud Bigtable display name. Must be 4-30 characters long. | YES | - | -| **instanceId** | `string` | Unique and permanent identifier for the Cloud Bigtable instance. Use only lowercase letters, numbers, or hyphens. Must be 6-33 characters long. | YES | - | -| **labels** | `object` | To organize your project, add arbitrary labels as key/value pairs to Cloud Bigtable. Use labels to indicate different elements, such as Namespaces, services, or teams. | NO | - | -| **tables** | `array` | The tables present in the requested instance. Each table is served using the resources of its parent cluster. For more information, see the **Tables properties** section. | NO | - | -| **type** | `string` | The value of this parameter can be either `PRODUCTION` or `DEVELOPMENT`. If your Cloud Bigtable cluster serves data to production, choose `Production`. If you want to experiment with Bigtable without committing to a production-grade cluster, choose `Development`. However, no Service Level Agreement (SLA) applies. | NO | `PRODUCTION` | - -### Cluster properties - -These are the properties that you can set for your Cloud Bigtable cluster: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **clusterId** | `string` | Unique and permanent identifier for Cloud Bigtable instance. Use only lowercase letters, numbers, or hyphens. Must be 6-30 characters long. | YES | - | -| **defaultStorageType** | `string` | Storage type affects Node performance and monthly storage costs. The value of this parameter can be either `SSD` or `HDD`. The choice is permanent. | YES | `SSD` | -| **location** | `string` | Determines where Cloud Bigtable data is stored. To reduce latency and increase throughput, store your data near the services that need it. These are the possible values: `us-east1-b`, `us-east1-c`, `asia-east1-b`, `asia-east1-a`, `asia-northeast1-c`, `asia-northeast1-b`, `europe-west1-b`, `europe-west1-c`, `europe-west4-b`, `europe-west1-d`, `us-central1-c`, `us-central1-b`, `us-central1-f`, `asia-southeast1-b`. The choice is permanent. | YES | - | -| **serveNodes** | `string` | Add Nodes to increase capacity for data throughput and queries per second (QPS). Only applies to `PRODUCTION`. The minimal number of Nodes is 3. | NO | - | - - -### Tables properties - -These are the **Tables** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **tableId** | `string` | The name by which you refer to the new table within the parent instance. | YES | - | -| **columnFamily** | `array` | A set of columns within a table which share a common configuration. | NO | - | -| **ColumnFamily.columnFamilyId** | `string` | The name of the ColumnFamily. | NO | - | -| **ColumnFamily.gcRule** | `object` | Rule used to determine which cells to delete during garbage collection. Must serialize to at most 500 bytes. | NO | - | -| **ColumnFamily.gcRule.maxAge** | `string` | Deletes cells in a column older than a given age. Values must be at least one millisecond, and are truncated to microsecond granularity. | NO | - | -| **ColumnFamily.gcRule.maxNumVersions** | `integer` | Deletes all cells in a column, except the most recent. | NO | - | -| **granularity** | `string` | The granularity at which timestamps are stored in this table. Timestamps not matching the granularity are rejected. | NO | `MILLIS` | -| **initialSplits** | `array` | The optional list of row keys that are used to initially split the table into several tablets. | NO | - | -| **initialSplits.key** | `string` | Row key to use as an initial tablet boundary. | NO | - | - - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding parameters - -Binding grants the provided service account access to the Cloud Bigtable instance. Optionally, you can create a new service account and add the access to the Cloud Bigtable instance. These are the binding parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **createServiceAccount** | `boolean` | Creates a new service account for Bigtable binding. | NO | `false` | -| **roles** | `array` | The list of Cloud Bigtable roles for the binding. Affects the level of access granted to the service account. These are the possible values: `roles/bigtable.admin`, `roles/bigtable.user`, `roles/bigtable.reader`, `roles/bigtable.viewer`. The items in the roles array must be unique, which means that you can specify a given role only once. | YES | - | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | YES | - | - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **instanceId** | `string` | The ID of the instance. | -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **projectId** | `string` | The ID of the project. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/overview.md deleted file mode 100644 index ca496333..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/overview.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Overview -type: Overview ---- - -**Cloud IAM Service Account** gives you fine-grained access control and visibility for centrally managing cloud resources. With Cloud IAM, you can grant granular access to specific GCP resources and prevent unwanted access to other resources. Cloud IAM allows you adopt the security principle of least privilege, so you grant only the necessary access to your resources. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/plans-details.md deleted file mode 100644 index daad9fa1..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-iam-service-account/docs/plans-details.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | Bigtable plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new Cloud IAM Service Account. These are the input parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **accountId** | `string` | A user-specified ID, which is the unique name of a GCP Service Account. Must start with a lower case letter, followed by lower case alphanumeric characters separated by hyphens. Must be 6-30 characters long. | YES | - | -| **displayName** | `string` | Optionally add a descriptive name of the Service Account. The maximal length is 100. | NO | - | - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding - -Binding makes the Cloud IAM service account private key available to your application. - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/overview.md deleted file mode 100644 index 88c88abb..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/overview.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Overview -type: Overview ---- - -**Cloud Pub/Sub** is a fully-managed, real-time messaging service that allows you to send and receive messages between independent applications. As part of Google Cloud’s stream analytics solution, the service ingests event streams and delivers them to Cloud Dataflow for processing, and to BigQuery for analysis. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/plans-details.md deleted file mode 100644 index 71a36ab4..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-pubsub/docs/plans-details.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | Pub/Sub plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new Pub/Sub topic. These are the input parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **topicId** | `string` | A user-specified Pub/Sub topic ID. Must be 3-255 characters long, start with an alphanumeric character, and contain only the following characters: letters, numbers, dashes, periods, underscores, tildes, percents or plus signs. Cannot start with `goog`. | YES | - | - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding parameters - -Binding grants the provided service account access to the Pub/Sub topic. Optionally, you can create a new service account and add the access to the Pub/Sub topic. These are the binding parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **createServiceAccount** | `boolean` | Creates a new service account for Pub/Sub binding. | NO | `false` | -| **roles** | `array` | The list of Cloud Pub/Sub roles for the binding. Affects the level of access granted to the service account. These are the possible values of this parameter: `roles/pubsub.publisher`, `roles/pubsub.subscriber`, `roles/pubsub.viewer`, `roles/pubsub.editor`, `roles/pubsub.admin`. The items in the roles array must be unique, which means that you can specify a given role only once. | YES | - | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | YES | - | -| **subscription** | `object` | A subscription resource. For more information, go to the **Subscription properties** section. | NO | - | - -### Subscription properties - -These are the **Subscription** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **ackDeadlineSeconds** | `integer` | This value is the maximum time after a subscriber receives or acknowledges the message. After that time, or before the acknowledgement, the message is outstanding and is not delivered. For pull subscriptions, this value is used as the initial value for the **ackDeadline**. To override this value for a given message, call **ModifyAckDeadline** with the corresponding **ack_id**, if you use a non-streaming pull, or send the **ack_id** in a **StreamingModifyAckDeadlineRequest** if you use a streaming pull. The minimum custom deadline you can specify is `10` seconds and the maximum is `600` seconds. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system eventually redelivers the message. | NO | `10` | -| **pushConfig** | `string` | A URL locating the endpoint to which messages are pushed. If push delivery is used with this subscription, this field is used to configure it. An empty **pushConfig** signifies that the subscriber pulls and acknowledges messages using API methods. | NO | - | -| **pushConfig.attributes** | `object` | Endpoint configuration attributes. Every endpoint has a set of API supported attributes that you can use to control different aspects of the message delivery. The currently supported attribute is **x-goog-version**, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message, such as its fields and metadata. The endpoint version is based on the version of the Pub/Sub API. If not present during the **CreateSubscription** call, it defaults to the version of the API used to make such call. If not present during a **ModifyPushConfig** call, its value will not be changed. **GetSubscription** calls always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are `v1beta1`, which uses the push format defined in the v1beta1 Pub/Sub API, or `v1beta2`, which uses the push format defined in the v1 Pub/Sub API. | NO | - | -| **pushConfig.pushEndpoint** | `string` | A URL locating the endpoint to which messages are pushed. | NO | - | -| **subscriptionId** | `string` | A user-specified Pub/Sub subscription ID. Must be 3-255 characters, start with an alphanumeric character, and contain only the following characters: letters, numbers, dashes, periods, underscores, tildes, percents or plus signs. | NO | - | - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **projectId** | `string` | The ID of the project. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | -| **subscriptionId** | `string` | The ID of the subscription. | -| **topicId** | `string` | The ID of the topic. | diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/overview.md deleted file mode 100644 index dccfc179..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/overview.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Overview -type: Overview ---- - -**Cloud Spanner** is the only enterprise-grade, globally-distributed, and strongly consistent database service built for the cloud specifically to combine the benefits of relational database structure with non-relational horizontal scale. This combination delivers high-performance transactions and strong consistency across rows, regions, and continents with an industry-leading 99.999% availability SLA, no planned downtime, and enterprise-grade security. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/plans-details.md deleted file mode 100644 index c2ee79dd..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-spanner/docs/plans-details.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | Cloud Spanner plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new Cloud Spanner instance. These are the input parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **config** | `string` | Determines where your Cloud Spanner data and Nodes are located. Affects cost, performance, and replication. These are the possible values: `nam-eur-asia1`, `nam3`, `regional-asia-east1`, `regional-asia-northeast1`, `regional-asia-south1`, `regional-europe-west1`, `regional-northamerica-northeast1`, `regional-us-central1`, `regional-us-east4`. This choice is permanent. | NO | `regional-us-central1` | -| **displayName** | `string` | Cloud Spanner display name. Must be 4-30 characters long. | YES | - | -| **instanceId** | `string` | Cloud Spanner unique and permanent identifier for instance. Use lowercase letters, numbers, or hyphens. Must be 6-30 characters long. | YES | - | -| **labels** | `object` | To organize your project, add arbitrary labels as key/value pairs to Cloud Spanner. Use labels to indicate different elements, such as Namespaces, services, or teams. | NO | - | -| **nodeCount** | `integer` | Number of Cloud Spanner Nodes. Add Nodes to increase data throughput and queries per second (QPS). Affects billing. Must contain minimum 1 Node. | YES | `1` | - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding parameters - -Binding to an instance grants the provided service account access to the Cloud Spanner instance. Optionally, you can create a new service account and add the access to the Cloud Spanner instance. These are the binding parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **createServiceAccount** | `boolean` | Creates a new service account for Spanner binding. | NO | `false` | -| **roles** | `array` | The list of Cloud Spanner roles for the binding. Affects the level of access granted to the service account. These are the possible values of this parameter: `roles/spanner.admin`, `roles/spanner.viewer`, `roles/spanner.databaseAdmin`, `roles/spanner.databaseUser`, `roles/spanner.databaseReader`. The items in the roles array must be unique, which means that you can specify a given role only once. | YES | - | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | YES | - | - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **instanceId** | `string` | The ID of the instance. | -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **projectId** | `string` | The ID of the project. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/overview.md deleted file mode 100644 index 09444b17..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/overview.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Overview -type: Overview ---- - -**Cloud SQL-MySQL** is a fully-managed database service that makes it easy to set up, maintain, manage, and administer your relational MySQL databases in the cloud. The Cloud SQL offers high performance, scalability, and convenience. Hosted on Google Cloud Platform, Cloud SQL provides a database infrastructure for applications running anywhere. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/plans-details.md deleted file mode 100644 index a974cba5..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/cloud-sql-mysql/docs/plans-details.md +++ /dev/null @@ -1,145 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | Cloud SQL-MySQL plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new MySQL instance. These are the input parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **databaseVersion** | `string` | The database engine type and version. The value can be either `MYSQL_5_7` or `MYSQL_5_6`. The choice is permanent. | NO | `MYSQL_5_7` | -| **failoverReplica** | `object` | The name and status of the failover replica. This property is applicable only to Second Generation instances. | NO | - | -| **instanceId** | `string` | CloudSQL instance ID. Use lowercase letters, numbers, and hyphens. Start with a letter. Must be 1-78 characters long. The choice is permanent. | YES | - | -| **masterInstanceName** | `string` | The name of the instance which acts as master in the replication setup. | NO | - | -| **onPremisesConfiguration** | `object` | Configuration specific to on-premises instances.| NO | - | -| **onPremisesConfiguration.hostPort** | `string` | The host and port of the on-premises instance in the `host:port` format | NO | - | -| **region** | `string` | Determines where your CloudSQL data is located. For better performance, keep your data close to the services that need it. These are the possible values: `asia-east1`, `asia-northeast1`, `asia-south1`, `australia-southeast1`, `europe-west1`, `europe-west2`, `europe-west3`, `europe-west4`, `northamerica-northeast1`, `southamerica-east1`, `us-central1`, `us-east1`, `us-east4`, `us-west1`. The choice is permanent.| NO | `us-central1` | -| **replicaConfiguration** | `object` | Configuration specific to read-replicas replicating from on-premises masters. For more information, go to the **ReplicaConfiguration properties** section. | NO | - | -| **settings** | `object` | The user settings. For more information, go to the **Settings properties** section. | YES | - | - -### ReplicaConfiguration properties - -These are the **replicaConfiguration** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **failoverTarget** | `boolean` | Specifies if the replica is the failover target. If the field is set to `true`, the replica is designated as a failover replica. In case the master instance fails, the replica instance is promoted as the new master instance. Only one replica can be specified as a failover target and this replica must be in a different zone with the master instance. | NO | - | -| **mysqlReplicaConfiguration** | `object` | MySQL specific configuration when replicating from a MySQL on-premises master. Replication configuration information, such as the username, password, certificates, and keys, are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in the `master.info` file in the data directory. For more information, go to the **MySqlReplicaConfiguration properties** section. | NO | - | - -### MySqlReplicaConfiguration properties - -These are the **MySqlReplicaConfiguration** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **caCertificate** | `string` | PEM representation of the trusted CA's x509 certificate. | NO | - | -| **clientCertificate** | `string` | PEM representation of the slave's x509 certificate. | NO | - | -| **clientKey** | `string` | PEM representation of the slave's private key. The corresponding public key is encoded in the client's certificate. | NO | - | -| **connectRetryInterval** | `integer` | Seconds to wait between connect retries. | NO | `60 seconds` | -| **dumpFilePath** | `string` | Path to an SQL dump file in Google Cloud Storage from which the slave instance is created. The URI is in the `gs://{bucketName}/{fileName}` form. Compressed gzip files (.gz) are also supported. Dumps should have the binlog co-ordinates from which replication should begin. This can be accomplished by setting **--master-data** to `1` when using mysqldump. | NO | - | -| **masterHeartbeatPeriod** | `string` | Interval in milliseconds between replication heartbeats. | NO | - | -| **password** | `string` | The password for the replication connection. | NO | - | -| **sslCipher** | `string` | A list of permissible ciphers to use for SSL encryption. | NO | - | -| **username** | `string` | The username for the replication connection. | NO | - | -| **verifyServerCertificate** | `boolean` | Whether or not to check the master's Common Name value in the certificate that it sends during the SSL handshake. | NO | - | - -### Settings properties - -These are the **Settings** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **activationPolicy** | `string` | The activation policy specifies when the instance is activated. It is applicable only when the instance state is `RUNNABLE`. The possible values are `ALWAYS`, `NEVER` and `ON_DEMAND`. `ALWAYS` indicates that the instance is on, and remains so even in the absence of connection requests. `NEVER` means that the instance is off and is not activated, even if a connection request arrives. `ON_DEMAND` applies to First Generation instances only and it indicates that the instance responds to incoming requests, and turns itself off when not in use. Instances with `PER_USE` pricing turn off after 15 minutes of inactivity. Instances with `PER_PACKAGE` pricing turn off after 12 hours of inactivity. | NO | - | -| **authorizedGaeApplications** | `string` | The App Engine application IDs that can access this instance. This property is only applicable to First Generation instances. | NO | - | -| **backupConfiguration** | `string` | The daily backup configuration for the instance. For more information, go to the **BackupConfiguration properties** section. | NO | - | -| **crashSafeReplicationEnabled** | `boolean` | Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property is only applicable to First Generation instances. | NO | - | -| **dataDiskSizeGb** | `string` | The size of data disk in `GB`. The data disk size minimum is `10GB`. Applies only to Second Generation instances. | NO | - | -| **dataDiskType** | `string` | The type of data disk. The possible values are `PD_SSD`, `PD_HDD`. Applies only to Second Generation instances. | NO | `PD_SSD` | -| **databaseFlags** | `array` | The database flags passed to the instance at startup. | NO | - | -| **databaseFlags.name** | `string` | The name of the flag. These flags are passed at instance startup, so include both MySQL server options and MySQL system variables. Flags should be specified with underscores, not hyphens. | NO | - | -| **databaseFlags.value** | `string` | The value of the flag. Booleans should be set to `on` for `true` and `off` for `false`. This field must be omitted if the flag does not take a value. | NO | - | -| **databaseReplicationEnabled** | `boolean` | Configuration specific to read replica instances. Indicates whether replication is enabled or not. | NO | - | -| **ipConfiguration** | `object` | The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances. For more information, go to the **IpConfiguration properties** section. | NO | - | -| **locationPreference** | `object` | The location preference settings. This allows the instance to be located as near as possible to either an App Engine application or Compute Engine zone for better performance. App Engine co-location is only applicable to First Generation instances. | NO | - | -| **locationPreference.followGaeApplication** | `string` | The AppEngine application to follow. It must be in the same region as the Cloud SQL instance. | NO | - | -| **locationPreference.zone** | `string` | The preferred Compute Engine zone. | NO | - | -| **maintenanceWindow** | `object` | The maintenance window for this instance. This specifies when the instance may be restarted for maintenance purposes. Applies only to Second Generation instances. | NO | - | -| **maintenanceWindow.day** | `integer` | Day of week (1-7), starting on Monday. | NO | - | -| **maintenanceWindow.hour** | `integer` | The hour of the day (0-23). | NO | - | -| **maintenanceWindow.updateTrack** | `string` | Maintenance timing setting: canary or stable. | NO | - | -| **pricingPlan** | `string` | The pricing plan for this instance. The value can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. | NO | `PER_USE` | -| **replicationType** | `string` | The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. This property is only applicable to First Generation instances. | NO | - | -| **settingsVersion** | `string` | The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent **settingsVersion** value for this instance and do not try to update this value. | NO | - | -| **storageAutoResize** | `boolean` | Configuration to increase storage size automatically. Applies only to Second Generation instances. | NO | `true` | -| **storageAutoResizeLimit** | `string` | The maximum size to which storage capacity can be automatically increased. The default value is `0`, which specifies that there is no limit. Applies only to Second Generation instances. | NO | `0` | -| **tier** | `string` | For better performance, choose a CloudSQL machine type with enough memory to hold your largest table. These are the possible values: `db-f1-micro`, `db-g1-small`, `db-n1-standard-1`, `db-n1-standard-2`, `db-n1-standard-4`, `db-n1-standard-8`, `db-n1-standard-16`, `db-n1-standard-32`, `db-n1-standard-64`, `db-n1-highmem-2`, `db-n1-highmem-4`, `db-n1-highmem-8`, `db-n1-highmem-16`, `db-n1-highmem-32`, `db-n1-highmem-64` | YES | `db-n1-standard-1` | -| **userLabels** | `object` | To organize your project, add arbitrary labels as key/value pairs to CloudSQL. Use labels to indicate different elements, such as Namespaces, services, teams. | NO | - | - -### BackupConfiguration properties - -These are the **BackupConfiguration** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **enabled** | `boolean` | Indicates if this configuration is enabled. | NO | - | -| **binaryLogEnabled** | `boolean` | Indicates if the binary log is enabled. If backup configuration is disabled, binary log must be disabled as well. | NO | - | -| **startTime** | `string` | Start time for the daily backup configuration in UTC timezone in the 24 hour, `HH:MM`, format. | NO | - | - -### IpConfiguration properties - -These are the **IpConfiguration** properties: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **authorizedNetworks** | `array` | The list of external networks that are allowed to connect to the instance using the IP. In CIDR notation, also known as slash notation. | NO | - | -| **authorizedNetworks.expirationTime** | `string` | The time in the RFC 3339 format when this access control entry expires. | NO | - | -| **authorizedNetworks.name** | `string` | An optional label to identify this entry. | NO | - | -| **authorizedNetworks.value** | `string` | The whitelisted value for the access control list. | NO | - | -| **ipv4Enabled** | `boolean` | Indicates whether the instance should be assigned an IP address or not. | NO | - | -| **requireSsl** | `boolean` | Indicates whether SSL connections over IP should be enforced or not. | NO | - | - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding parameters - -Binding grants one of the available IAM roles on the Cloud SQL instance to the specified service account. Optionally, you can create a new service account and add the access to the MySQL instance. These are the binding parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **createServiceAccount** | `boolean` | Create a new service account for MySQL binding. | NO | `false` | -| **roles** | `array` | The list of CloudSQL roles for the binding. Affects the level of access granted to the service account. The value of this parameter is `roles/cloudsql.client`. The items in the roles array must be unique, which means that you can specify a given role only once. | YES | `roles/cloudsql.client` | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | YES | - | - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **connectionName** | `string` | The SQL instance name. | -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | - -### Usage - -To connect your business application to your Cloud SQL instance, use the [Cloud SQL proxy](https://github.com/GoogleCloudPlatform/cloudsql-proxy) configured with the **connectionName** and **serviceAccount** parameters. If your business application is written in Go, you can use that library directly in your code. Otherwise, run it as a standalone container so your business application can reach the Cloud SQL instance by calling the proxy. In the official [tutorial](https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/tree/master/service-catalog/cloud-sql-mysql), find the example on how to use the Cloud SQL Proxy with [Deployment](https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/blob/master/service-catalog/cloud-sql-mysql/manifests/user-deployment.yaml#L46-L66). Unfortunately, the ServiceBindingUsage does not support the mounting volume functionality. To make it work, replace proxy container under the **spec.template.spec.containers** property with such entry: - -```yaml - - name: cloudsql-proxy - image: gcr.io/cloudsql-docker/gce-proxy:1.11 - env: - command: ["bin/sh"] - args: ["-c", "echo $privateKeyData > /token; /cloud_sql_proxy -instances=$(connectionName)=tcp:3306 -credential_file=/token"] -``` diff --git a/bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/overview.md b/bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/overview.md deleted file mode 100644 index 44ce8f34..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/overview.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Overview -type: Overview ---- - -**Google Cloud Storage** allows world-wide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios, such as serving website content, storing data for archival and disaster recovery, or distributing large data objects to users using direct download. - -For more details, read the **Plans Details** document. - ->**NOTE:** Google does not provide the ability to specify the broker's version so bear in mind that you use the most up-to-date version of the GCP Broker. diff --git a/bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/plans-details.md b/bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/plans-details.md deleted file mode 100644 index 959927d8..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/google-cloud-storage/docs/plans-details.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: Details -type: Details ---- - -## Service description - -The service provides the following plan names and descriptions: - -| Plan Name | Description | -|-----------|-------------| -| `Beta Plan` | Google Cloud Storage plan for the Beta release of the Google Cloud Platform Service Broker | - -## Provisioning parameters - -Provisioning an instance creates a new Google Cloud Storage Bucket. These are the input parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **billing** | `object` | The bucket's billing configuration. | NO | - | -| **billing.requesterPays** | `boolean` | If set to `true`, Requester Pays is enabled for this bucket. | NO | - | -| **bucketId** | `string` | The ID must be unique across Cloud Storage. Must contain only lowercase letters, numbers, dashes, underscores, and dots. Must start and end with an alphanumeric and be 3-63 characters long. | YES | - | -| **cors** | `array` | The bucket's Cross-Origin Resource Sharing (CORS) configuration. | NO | - | -| **cors.maxAgeSeconds** | `integer` | The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. | NO | - | -| **cors.method** | `array` | The list of HTTP methods on which CORS response headers, such as GET, OPTIONS, or POST should be included. "*" is permitted in the list of methods and means any method. | NO | - | -| **cors.origin** | `array` | The list of Origins eligible to receive CORS response headers. "*" is permitted in the list of origins, and means any Origin. | NO | - | -| **cors.responseHeader** | `array` | The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains. | NO | - | -| **defaultEventBasedHold** | `boolean` | Defines the default value for Event-Based hold on newly created objects in this bucket. Event-Based hold is a way to retain objects indefinitely until an Event occurs, signified by the hold's release. After the release, such objects are subject to bucket-level retention, if any. One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the Event is loan being paid in full. Objects under Event-Based hold cannot be deleted, overwritten, or archived until the hold is removed. | NO | - | -| **defaultObjectAcl** | `array` | Default access controls to apply to new objects when no ACL is provided. For more information, see the **ObjectAccessControl properties** section. | NO | - | -| **encryption** | `object` | Encryption configuration used by default for newly inserted objects, when no encryption configuration is specified. | NO | - | -| **encryptiondefaultKmsKeyName** | `string` | A Cloud KMS key that is used to encrypt objects inserted into this bucket if no encryption method is specified. It is available only for enabled projects. | NO | - | -| **labels** | `object` | To organize your project, add arbitrary labels as key/value pairs to your resources. Use labels to indicate different elements, such as Namespaces, services, or teams. | NO | - | -| **lifecycle** | `object` | The bucket's lifecycle configuration. See the **Lifecycle properties** section for more information. | NO | - | -| **location** | `string` | Determines where the Storage Bucket data is stored. These are the possible values of this parameter: `US`, `EU`, `ASIA`, `northamerica-northeast1`, `us-central1`, `us-east1`, `us-east4`, `us-west1`, `southamerica-east1`, `europe-west1`, `europe-west2`, `europe-west3`, `europe-west4`, `asia-east1`, `asia-northeast1`, `asia-south1`, `asia-southeast1`, `australia-southeast1` | YES | `US` | -| **logging** | `object` | The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs. | NO | - | -| **logging.logBucket** | `string` | The destination bucket where the current bucket's logs are placed. | NO | - | -| **logging.logObjectPrefix** | `string` | A prefix for log object names. | NO | - | -| **storageClass** | `string` | The Cloud Storage bucket's default storage class. The possible values are `MULTI_REGIONAL`, `REGIONAL`, `STANDARD`, `NEARLINE`, `COLDLINE`, and `DURABLE_REDUCED_AVAILABILITY`. | NO | `STANDARD` | -| **updated** | `string` | The modification time of the bucket in the RFC 3339 format. | NO | - | -| **versioning** | `object` | The bucket's versioning configuration. | NO | - | -| **versioning.enabled** | `boolean` | While set to `true`, versioning is fully enabled for this bucket. | NO | - | -| **website** | `object` | The bucket's website configuration, which controls how the service behaves when accessing bucket contents as a website. | NO | - | -| **website.mainPageSuffix** | `string` | If the requested object path is missing, the service ensures the path has a trailing suffix, and attempts to retrieve the resulting object. This allows the creation of `index.html` objects to represent directory pages. | NO | - | -| **website.notFoundPage** | `string` | If the requested object path and any **mainPageSuffix** object are missing, the service returns the named object from this bucket as the content for a `404 Not Found` result. | NO | - | - -### ObjectAccessControl properties - -These are the properties of the **ObjectAccessControl** parameter: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **entity** | `string` |The entity holding the permission, in one of the following forms: `user-userId`, `user-email`, `group-groupId`, `group-email`, `domain-domain`, `project-team-projectId`, `allUsers`, `allAuthenticatedUsers`. For example, the user `liz@example.com` would be `user-liz@example.com`. | NO | - | -| **role** | `string` | The access permission for the entity. | NO | - | - -### Lifecycle properties - -These are the properties of the **Lifecycle** parameter: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **rule** | `object` | A lifecycle management rule, which consists of an action to take and the condition(s) under which the action is taken. | NO | - | -| **rule.action** | `object` | The action to take. | NO | - | -| **rule.action.storageClass** | `string` | The target storage class. Required if the type of the action is `SetStorageClass`. | NO | - | -| **rule.action.type** | `string` | The action type. Currently, only `Delete` and `SetStorageClass` are supported. | NO | - | -| **rule.condition** | `object` | The condition(s) under which the action is taken. | NO | - | -| **rule.condition.age** | `integer` | Age of an object in days. This condition is satisfied when an object reaches the specified age. | NO | - | -| **rule.condition.createdBefore** | `string` | A date in RFC 3339 format. This condition is satisfied when an object is created before midnight of the specified date in UTC. | NO | - | -| **rule.condition.isLive** | `boolean` | Relevant only for versioned objects. If the value is `true`, this condition matches live objects. If the value is `false`, it matches archived objects. | NO | - | -| **rule.condition.matchesStorageClass** | `string` | Objects that have any of the storage classes specified by this condition are matched. Values include `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `STANDARD`, and `DURABLE_REDUCED_AVAILABILITY`. | NO | - | -| **rule.condition.numNewerVersions** | `integer` | Relevant only for versioned objects. If the value is `N`, this condition is satisfied when there are at least N versions, including the live version, newer than this version of the object. | NO | - | - - -## Update parameters - -The update parameters are the same as the provisioning parameters. - -## Binding parameters - -Binding grants the provided service account access to the Cloud Storage Bucket. Optionally, you can create a new service account and add the access to the Cloud Storage Bucket. These are the binding parameters: - -| Parameter Name | Type | Description | Required | Default Value | -|----------------|------|-------------|----------|---------------| -| **createServiceAccount** | `boolean` | Create a new service account for the GCS binding. | NO | `false` | -| **roles** | `array` | The list of Cloud Storage roles for the binding. Affects the level of access granted to the service account. These are the possible values of this parameter: `roles/storage.objectCreator`, `roles/storage.objectViewer`, `roles/storage.objectAdmin`, `roles/storage.admin`. The items in the roles array must be unique, which means that you can specify a given role only once. | YES | - | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | YES | - | - -### Credentials - -Binding returns the following connection details and credentials: - -| Parameter Name | Type | Description | -|----------------|------|-------------| -| **bucketId** | `string` | The ID of the bucket. | -| **privateKeyData** | `JSON Object` | The service account OAuth information. | -| **projectId** | `string` | The ID of the project. | -| **serviceAccount** | `string` | The GCP service account to which access is granted. | diff --git a/bundles/gcp-service-broker-0.0.2/docs/meta.yaml b/bundles/gcp-service-broker-0.0.2/docs/meta.yaml deleted file mode 100644 index bb1579f2..00000000 --- a/bundles/gcp-service-broker-0.0.2/docs/meta.yaml +++ /dev/null @@ -1,9 +0,0 @@ -docs: - - template: - displayName: "Documentation for redis" - description: "Overall documentation" - sources: - - type: markdown - name: markdown-files - mode: package - filter: docs/broker diff --git a/bundles/gcp-service-broker-0.0.2/meta.yaml b/bundles/gcp-service-broker-0.0.2/meta.yaml deleted file mode 100644 index 89572695..00000000 --- a/bundles/gcp-service-broker-0.0.2/meta.yaml +++ /dev/null @@ -1,13 +0,0 @@ -name: gcp-service-broker -version: 0.0.2 -id: aff0f62c-a988-406f-a950-348473743071 -description: "Extends the Service Catalog with Google Cloud Platform services" -displayName: Google Cloud Platform Service Broker - -tags: gcp, google, broker -providerDisplayName: "Google Cloud Platform" -longDescription: Google Cloud Platform (GCP) Service Broker is an implementation of the open-source Open Service Broker (OSB) API hosted on GCP -documentationURL: https://cloud.google.com/kubernetes-engine/docs/concepts/google-cloud-platform-service-broker -imageURL: https://cloud.google.com/_static/images/cloud/icons/favicons/onecloud/apple-icon.png -bindable: false -provisionOnlyOnce: true diff --git a/bundles/gcp-service-broker-0.0.2/plans/default/create-instance-schema.json b/bundles/gcp-service-broker-0.0.2/plans/default/create-instance-schema.json deleted file mode 100644 index 8a299377..00000000 --- a/bundles/gcp-service-broker-0.0.2/plans/default/create-instance-schema.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "secretName": { - "type": "string", - "title": "GCP Secret name", - "description": "Name of the Secret which contains the GCP credentials - project-name, sa-key" - } - }, - "required": ["secretName"] -} diff --git a/bundles/gcp-service-broker-0.0.2/plans/default/meta.yaml b/bundles/gcp-service-broker-0.0.2/plans/default/meta.yaml deleted file mode 100644 index 6a1a0570..00000000 --- a/bundles/gcp-service-broker-0.0.2/plans/default/meta.yaml +++ /dev/null @@ -1,4 +0,0 @@ -name: default -id: 0c712d43-b1e6-480b-9fe5-8e1d552aa6a8 -description: "The default plan for installing/uninstalling GCP Broker" -displayName: Default diff --git a/bundles/gcp-service-broker-0.0.2/plans/default/values.yaml b/bundles/gcp-service-broker-0.0.2/plans/default/values.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/bundles/index.yaml b/bundles/index.yaml index 40a222c6..532a8140 100644 --- a/bundles/index.yaml +++ b/bundles/index.yaml @@ -1,9 +1,5 @@ apiVersion: v1 entries: - gcp-service-broker: - - name: gcp-service-broker - description: "Google Cloud Platform Service Broker" - version: 0.0.2 azure-service-broker: - name: azure-service-broker description: "Azure Service Broker"