Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Allow for setting the 'serviceAccountName' #600

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charts/cp-control-center/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/cp-control-center/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,6 @@ cp-ksql-server:
cp-zookeeper:
## If the Zookeeper Chart is disabled a URL and port are required to connect
url: ""

serviceAccount:
name: ""
6 changes: 6 additions & 0 deletions charts/cp-kafka-connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ The configuration parameters in this section control the resources requested and
| `nodeSelector` | Dictionary containing key-value-pairs to match labels on nodes. When defined pods will only be scheduled on nodes, that have each of the indicated key-value pairs as labels. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}`
| `tolerations`| Array containing taint references. When defined, pods can run on nodes, which would otherwise deny scheduling. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `{}`

### Service Account

| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `serviceAccount.name` | The service account name for the pod | `""` |

## Dependencies

### Kafka
Expand Down
3 changes: 3 additions & 0 deletions charts/cp-kafka-connect/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,6 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/cp-kafka-connect/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,6 @@ livenessProbe:
# initialDelaySeconds: 30
# periodSeconds: 5
# failureThreshold: 10

serviceAccount:
name: ""
6 changes: 6 additions & 0 deletions charts/cp-kafka-rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ The configuration parameters in this section control the resources requested and
| `nodeSelector` | Dictionary containing key-value-pairs to match labels on nodes. When defined pods will only be scheduled on nodes, that have each of the indicated key-value pairs as labels. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}`
| `tolerations`| Array containing taint references. When defined, pods can run on nodes, which would otherwise deny scheduling. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `{}`

### Service Account

| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `serviceAccount.name` | The service account name for the pod | `""` |

## Dependencies

### Zookeeper
Expand Down
3 changes: 3 additions & 0 deletions charts/cp-kafka-rest/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,6 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/cp-kafka-rest/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,6 @@ cp-schema-registry:

cp-kafka:
bootstrapServers: ""

serviceAccount:
name: ""
6 changes: 6 additions & 0 deletions charts/cp-ksql-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ The configuration parameters in this section control the resources requested and
| `nodeSelector` | Dictionary containing key-value-pairs to match labels on nodes. When defined pods will only be scheduled on nodes, that have each of the indicated key-value pairs as labels. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}`
| `tolerations`| Array containing taint references. When defined, pods can run on nodes, which would otherwise deny scheduling. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `{}`

### Service Account

| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `serviceAccount.name` | The service account name for the pod | `""` |

## Dependencies

### Schema Registry (optional)
Expand Down
3 changes: 3 additions & 0 deletions charts/cp-ksql-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,6 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/cp-ksql-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ cp-schema-registry:
## ref: https://docs.confluent.io/current/ksql/docs/installation/server-config/config-reference.html
configurationOverrides: {}
# "ksql.streams.producer.retries": "2147483647"

serviceAccount:
name: ""
6 changes: 6 additions & 0 deletions charts/cp-schema-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,9 @@ The configuration parameters in this section control the resources requested and
| --------- | ----------- | ------- |
| `nodeSelector` | Dictionary containing key-value-pairs to match labels on nodes. When defined pods will only be scheduled on nodes, that have each of the indicated key-value pairs as labels. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}`
| `tolerations`| Array containing taint references. When defined, pods can run on nodes, which would otherwise deny scheduling. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `{}`

### Service Account

| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `serviceAccount.name` | The service account name for the pod | `""` |
3 changes: 3 additions & 0 deletions charts/cp-schema-registry/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,6 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/cp-schema-registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,6 @@ prometheus:
port: 5556

resources: {}

serviceAccount:
name: ""
6 changes: 6 additions & 0 deletions charts/cp-zookeeper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,9 @@ The configuration parameters in this section control the resources requested and
| --------- | ----------- | ------- |
| `nodeSelector` | Dictionary containing key-value-pairs to match labels on nodes. When defined pods will only be scheduled on nodes, that have each of the indicated key-value pairs as labels. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}`
| `tolerations`| Array containing taint references. When defined, pods can run on nodes, which would otherwise deny scheduling. Further information can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) | `{}`

### Service Account

| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `serviceAccount.name` | The service account name for the pod | `""` |
3 changes: 3 additions & 0 deletions charts/cp-zookeeper/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ spec:
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
{{- if .Values.persistence.enabled }}
volumeClaimTemplates:
- metadata:
Expand Down
3 changes: 3 additions & 0 deletions charts/cp-zookeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,6 @@ prometheus:
## Resources configuration for the JMX exporter container.
## See the `resources` documentation above for details.
resources: {}

serviceAccount:
name: ""