Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add imagepullsecrets #245

Merged
merged 1 commit into from
Feb 18, 2024
Merged
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
1 change: 1 addition & 0 deletions HelmSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Some useful parameters for the chart, you could also check them in values.yaml
| -------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------ |
| replicaCount | Replica Count for devlake, currently not used | 1 |
| imageTag | The version tag for all images | see Values.yaml |
| imagePullSecrets | Name of the Secret for accessing private image registries | [] |
| commonEnvs | The common envs for all pods except grafana | {TZ: "UTC"} |
| mysql.useExternal | If use external mysql server, set true | false |
| mysql.externalServer | External mysql server address | 127.0.0.1 |
Expand Down
8 changes: 8 additions & 0 deletions charts/devlake/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ spec:
annotations:
{{- toYaml .Values.ui.podAnnotations | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.ui.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
Expand Down Expand Up @@ -134,6 +138,10 @@ spec:
annotations:
{{- toYaml .Values.lake.podAnnotations | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.lake.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/devlake/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
replicaCount: 1
imageTag: v0.21.0-beta1

# image pull secrets
imagePullSecrets: []

#the common environments for all pods except grafana, grafana needs to be set in grafana section seperately
commonEnvs:
TZ: "UTC"
Expand Down
Loading