Skip to content
Snippets Groups Projects
Verified Commit 99035e42 authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files
parent 8cb5358c
No related branches found
No related tags found
1 merge request!19update skeleton
Pipeline #390999 passed
{
"template": "https://codebase.helmholtz.cloud/hcdc/software-templates/helm-chart-template.git",
"commit": "21cf55055a0360ebbbfd588c2155ecf2a4712b18",
"commit": "f639506e5c992f1f5a84733510635a5ad2a25531",
"checkout": null,
"context": {
"cookiecutter": {
......
......@@ -29,7 +29,13 @@ spec:
{{- end }}
sourceSecret:
name: k8sgitlab{{- if eq $stage "staging" }}
{{- if $.Values.buildSource.gitlabSourceSecret }}
name: {{ $.Values.buildSource.gitlabSourceSecret | quote }}
{{- else }}
name: {{ $.Values.global.buildSource.gitlabSourceSecret | quote }}
{{- end }}
{{- if eq $stage "staging" }}
contextDir: {{ $.Values.contextDir | quote }}
{{- if $.Values.dockerfilePath }}
dockerfilePath: {{ $.Values.dockerfilePath | quote }}
......
......@@ -10,6 +10,8 @@ global:
gitlabProject: null
# a branch or tag to build from. defaults to the default branch (i.e. main)
gitlabRef: null
# the secret with the private key to access the project on gitlab
gitlabSourceSecret: k8sgitlab
# cluster where this chart should be deployed
openshiftCluster: null
manualDeployKey: false
......@@ -22,6 +24,7 @@ buildSource:
gitlabHost: null
gitlabProject: null
gitlabRef: null
gitlabSourceSecret: null
# command is the command that the docker container shall run (has to be a list)
command: null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment