diff --git a/charts/gateway/Chart.yaml b/charts/gateway/Chart.yaml index e0c1693..5a85669 100644 --- a/charts/gateway/Chart.yaml +++ b/charts/gateway/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "3.2.1" description: Conduktor Gateway chart name: conduktor-gateway -version: 3.2.1 +version: 3.2.2 dependencies: - name: kafka repository: https://charts.bitnami.com/bitnami diff --git a/charts/gateway/README.md b/charts/gateway/README.md index f52cf6c..c09ba42 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -16,7 +16,6 @@ helm install myGateway conduktor/conduktor-gateway This section contains configuration of the gateway - ### Conduktor-gateway image configuration This section define the image to be used @@ -61,7 +60,6 @@ This section is for configuring gateway to handle certificate to manage SSL endp This section contains kubernetes services configuration - ### Conduktor-gateway external service configurations This section specify external service configuration @@ -106,6 +104,7 @@ Shared kubernetes configuration of the chart | Name | Description | Value | | ----------------------- | -------------------------------------------------------------- | ------- | | `serviceAccount.create` | Create Kubernetes service account. Default kube value if false | `false` | +| `serviceAccount.name` | Service account name to attach to the Gateway deployment | `""` | | `commonLabels` | Labels to be applied to all ressources created by this chart | `{}` | | `nodeSelector` | Container node selector | `{}` | | `tolerations` | Container tolerations | `[]` | @@ -118,4 +117,3 @@ Enable and configure chart dependencies if not available in your deployment | Name | Description | Value | | --------------- | ----------------------------------------------------------------------------- | ------- | | `kafka.enabled` | Deploy a kafka along side gateway (This should only used for testing purpose) | `false` | - diff --git a/charts/gateway/templates/deployment.yaml b/charts/gateway/templates/deployment.yaml index fb056ce..2681109 100644 --- a/charts/gateway/templates/deployment.yaml +++ b/charts/gateway/templates/deployment.yaml @@ -122,9 +122,7 @@ spec: items: - key: interceptors.json path: interceptors.json - {{- if .Values.serviceAccount.create }} serviceAccountName: {{ template "conduktor-gateway.serviceAccountName" . }} - {{- end }} {{- with .Values.global.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/gateway/values.yaml b/charts/gateway/values.yaml index ef9043d..3180cb5 100644 --- a/charts/gateway/values.yaml +++ b/charts/gateway/values.yaml @@ -187,6 +187,8 @@ serviceAccount: # Specifies whether a service account should be created # If AWS IAM is used, need to have create: false create: false + ## @param serviceAccount.name Service account name to attach to the Gateway deployment + name: "" ## @param commonLabels Labels to be applied to all ressources created by this chart commonLabels: {}