File tree Expand file tree Collapse file tree
installer/charts/tsf-pipelines/templates/tektonconfig Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{- define "pipelines.TektonConfigPatch" -}}
22 {{- $tasSecretObj := (lookup "v1" "Secret" .Values.pipelines.tsf.namespace "tsf-tas-integration") | default dict -}}
33 {{- $secretData := required (printf "Secret 'tsf-tas-integration' not found in namespace '%s'" .Values.pipelines.tsf.namespace) (get $tasSecretObj "data") | default dict -}}
4- {{- $fulcio_url := required (printf "fulcio_url not found in secret 'tsf-tas-integration' in namespace '%s'" .Values.pipelines.tsf.namespace) (get $secretData "fulcio_url") | b64dec | toString -}}
5- {{- $rekor_url := required (printf "rekor_url not found in secret 'tsf-tas-integration' in namespace '%s'" .Values.pipelines.tsf.namespace) (get $secretData "rekor_url") | b64dec | toString -}}
4+ {{- $fulcio_raw := (get $secretData "fulcio_service_url") | default (get $secretData "fulcio_url") -}}
5+ {{- $fulcio_url := required (printf "Neither fulcio_service_url nor fulcio_url found in secret 'tsf-tas-integration' in namespace '%s'" .Values.pipelines.tsf.namespace) $fulcio_raw | b64dec | toString -}}
6+ {{- $rekor_raw := (get $secretData "rekor_service_url") | default (get $secretData "rekor_url") -}}
7+ {{- $rekor_url := required (printf "Neither rekor_service_url nor rekor_url found in secret 'tsf-tas-integration' in namespace '%s'" .Values.pipelines.tsf.namespace) $rekor_raw | b64dec | toString -}}
68metadata:
79 annotations:
810 meta.helm.sh/release-name: {{ .Chart.Name }}
You can’t perform that action at this time.
0 commit comments