Skip to content

Commit

Permalink
Feature conditional disabling service account token automount (#60)
Browse files Browse the repository at this point in the history
* feature: add ability to toggle on/off service account token automount

* fix: removed comment from values.yaml causing lint to fail
  • Loading branch information
AngeloB-AIS authored Dec 6, 2024
1 parent e5914f2 commit b06a0f5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/multiwoven/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: multiwoven
description: Open-source reverse ETL, an alternative to Hightouch, Census etc. 🔥
type: application
version: 0.37.0
appVersion: "0.37.0"
version: 0.38.0
appVersion: "0.38.0"
maintainers:
- name: subintp
- name: RafaelOAiSquared
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
{{ if .Values.serviceAccount.enabled }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{ end }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken.enabled }}
containers:
- env:
{{ if .Values.secretsStore.enabled }}
Expand Down
1 change: 1 addition & 0 deletions charts/multiwoven/templates/multiwoven-ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
io.kompose.service: {{ include "chart.fullname" . }}-ui
{{- include "chart.selectorLabels" . | nindent 8 }}
spec:
automountServiceAccountToken: {{ .Values.automountServiceAccountToken.enabled }}
containers:
- env:
envFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
{{ if .Values.serviceAccount.enabled }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{ end }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken.enabled }}
containers:
- args: {{- toYaml .Values.multiwovenWorker.multiwovenWorker.args | nindent 8 }}
env:
Expand Down
1 change: 1 addition & 0 deletions charts/multiwoven/templates/temporal-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
{{ if .Values.serviceAccount.enabled }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{ end }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken.enabled }}
containers:
- env:
- name: DB
Expand Down
1 change: 1 addition & 0 deletions charts/multiwoven/templates/temporal-ui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
kompose.cmd: kompose convert
kompose.version: 1.32.0 (HEAD)
spec:
automountServiceAccountToken: {{ .Values.automountServiceAccountToken.enabled }}
containers:
- env:
- name: TEMPORAL_ADDRESS
Expand Down
3 changes: 3 additions & 0 deletions charts/multiwoven/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ multiwovenConfig:
viteFavIconUrl: ""
workerHost: worker.multiwoven.com

automountServiceAccountToken:
enabled: true

externalDNS:
enabled: false

Expand Down

0 comments on commit b06a0f5

Please sign in to comment.