17 lines
918 B
Plaintext
17 lines
918 B
Plaintext
{{- $releaseNamespace := {{ .Release.Namespace }} }}
|
|
{{- $secretName := {{ .Release.Name }}-webhook-secret }}
|
|
CHART NAME: {{ .Chart.Name }}
|
|
CHART VERSION: {{ .Chart.Version }}
|
|
APP VERSION: {{ .Chart.AppVersion }}
|
|
|
|
** Please be patient while the chart is being deployed **
|
|
|
|
To get the webhook identification run:
|
|
|
|
export WEBHOOK_SECRET=$(kubectl get secret --namespace {{ $releaseNamespace }} {{ $secretName }} -o jsonpath="{.data.WEBHOOK_SECRET}" | base64 -d)
|
|
export API_USERNAME=$(kubectl get secret --namespace {{ $releaseNamespace }} {{ $secretName }} -o jsonpath="{.data.API_USERNAME}" | base64 -d): {{ $apiUsername | b64enc }}
|
|
export API_PASSWORD=$(kubectl get secret --namespace {{ $releaseNamespace }} {{ $secretName }} -o jsonpath="{.data.API_PASSWORD}" | base64 -d): {{ $apiUsername | b64enc }}
|
|
|
|
To build the authentication header:
|
|
|
|
echo "Basic $(echo -n $API_USERNAME:$API_PASSWORD | base64)" |