Add Templates to pretty config
This commit is contained in:
parent
bc15214bf0
commit
0e2007c40c
@ -26,7 +26,7 @@ else
|
|||||||
export SP_CUSTOMER_ID=$(jq -r .[0].object.metadata.namespace $BINDING_CONTEXT_PATH)
|
export SP_CUSTOMER_ID=$(jq -r .[0].object.metadata.namespace $BINDING_CONTEXT_PATH)
|
||||||
export SP_CONFIG_NAME=$(jq -r .[0].object.metadata.name $BINDING_CONTEXT_PATH)
|
export SP_CONFIG_NAME=$(jq -r .[0].object.metadata.name $BINDING_CONTEXT_PATH)
|
||||||
export SP_APPLICATION=$(jq -r '.[0].object.data."values.yaml"' $BINDING_CONTEXT_PATH | base64 -d | yq '.helm.release')
|
export SP_APPLICATION=$(jq -r '.[0].object.data."values.yaml"' $BINDING_CONTEXT_PATH | base64 -d | yq '.helm.release')
|
||||||
export SP_ENVIRONMENT_ID=$(jq -r .[0].object.metadata.labels.environment)
|
export SP_ENVIRONMENT_ID=$(jq -r .[0].object.metadata.labels.environment $BINDING_CONTEXT_PATH)
|
||||||
|
|
||||||
flux create source helm $SP_APPLICATION \
|
flux create source helm $SP_APPLICATION \
|
||||||
--namespace=$SP_CUSTOMER_ID \
|
--namespace=$SP_CUSTOMER_ID \
|
||||||
|
Loading…
Reference in New Issue
Block a user