Add coulomb-social Helm chart and deploy targets
Chart mirrors vergabe-teilnahme Django probe/secret pattern. Non-secret values pin KeyCape OIDC and user-engine URL; env Secret holds secrets. Makefile: dry-run, deploy, ingress, status, logs.
This commit is contained in:
parent
dd1bd6cccc
commit
32610e9090
9 changed files with 348 additions and 1 deletions
25
charts/coulomb-social/templates/_helpers.tpl
Normal file
25
charts/coulomb-social/templates/_helpers.tpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{{- define "coulomb.fullname" -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- printf "%s" $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "coulomb.labels" -}}
|
||||
app.kubernetes.io/name: {{ include "coulomb.fullname" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
app.kubernetes.io/part-of: railiance-apps
|
||||
helm.sh/chart: {{ printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "coulomb.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "coulomb.fullname" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "coulomb.image" -}}
|
||||
{{- if not .Values.image.tag -}}
|
||||
{{- fail "image.tag is required — pin it in helm/coulomb-social-values.yaml" -}}
|
||||
{{- end -}}
|
||||
{{- printf "%s:%s" .Values.image.repository .Values.image.tag -}}
|
||||
{{- end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue