Skip to content

Commit 50a33af

Browse files
authored
feat(chart): Modify secrets (#1173)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent c1a1f5a commit 50a33af

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Chainloop is an open source software supply chain control plane, a
77

88
type: application
99
# Bump the patch (not minor, not major) version on each change in the Chart Source code
10-
version: 1.85.2
10+
version: 1.85.3
1111
# Do not update appVersion, this is handled automatically by the release process
1212
appVersion: v0.95.2
1313

deployment/chainloop/templates/cas/config.secret.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ apiVersion: v1
77
kind: Secret
88
metadata:
99
name: {{ include "chainloop.cas.fullname" . }}
10-
labels:
11-
{{- include "chainloop.cas.labels" . | nindent 4 }}
10+
namespace: {{ include "common.names.namespace" . | quote }}
11+
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
12+
app.kubernetes.io/component: cas
13+
{{- if .Values.commonAnnotations }}
14+
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
15+
{{- end }}
1216
type: Opaque
1317
stringData:
1418
{{- if and .Values.cas.sentry .Values.cas.sentry.enabled }}

deployment/chainloop/templates/controlplane/config.secret.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ apiVersion: v1
77
kind: Secret
88
metadata:
99
name: {{ include "chainloop.controlplane.fullname" . }}
10-
labels:
11-
{{- include "chainloop.controlplane.labels" . | nindent 4 }}
10+
namespace: {{ include "common.names.namespace" . | quote }}
11+
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
12+
app.kubernetes.io/component: controlplane
13+
{{- if .Values.commonAnnotations }}
14+
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
15+
{{- end }}
1216
type: Opaque
1317
{{- $hmacpass := include "common.secrets.passwords.manage" (dict "secret" (include "chainloop.controlplane.fullname" .) "key" "generated_jws_hmac_secret" "providedValues" (list "controlplane.auth.passphrase") "context" $) }}
1418
data:

0 commit comments

Comments
 (0)