Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RozmarinUS committed Oct 28, 2024
1 parent 69c2859 commit 7913734
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/gitlab-mr-combiner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ spec:
secretKeyRef:
name: {{ .Chart.Name }}-secrets
key: gitlabToken
- name: SECRET_TOKEN
valueFrom:
secretKeyRef:
name: {{ .Chart.Name }}-secrets
key: secretToken
resources:
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
Expand Down
1 change: 1 addition & 0 deletions charts/gitlab-mr-combiner/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ type: Opaque
data:
gitlabToken: {{ .Values.secret.gitlabToken | b64enc | quote }}
sshKey: {{ .Values.secret.sshKey | b64enc | quote }}
secretToken: {{ .Values.secret.secretToken | b64enc | quote }}
1 change: 1 addition & 0 deletions charts/gitlab-mr-combiner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ secret:
your ssh key here
-----END OPENSSH PRIVATE KEY-----
gitlabToken: "<your access_token>"
secretToken: "<your secret_token>"

podSecurityContext: {}
# fsGroup: 2000
Expand Down

0 comments on commit 7913734

Please sign in to comment.