Skip to content

Commit

Permalink
fix: rreset value file in install action
Browse files Browse the repository at this point in the history
Signed-off-by: realanna <anna.reale@dynatrace.com>
  • Loading branch information
RealAnna committed Oct 30, 2023
1 parent efc9eea commit 7578a2a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/actions/deploy-klt-on-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,34 +84,24 @@ runs:
cd ./chart
touch tmp-values.yaml
if [ "${{ inputs.allowed-namespaces }}" == "allowed_ns_on" ]; then
echo "lifecycleOperator:" >> tmp-values.yaml
echo "lifecycleOperator:" >> values.yaml
echo " allowedNamespaces: [allowed-ns-test]" >> tmp-values.yaml
fi
if [ "${{ inputs.scheduling-gates }}" == "gates_on" ]; then
if [ "${{ inputs.allowed-namespaces }}" == "allowed_ns_off" ]; then
echo "lifecycleOperator:" >> tmp-values.yaml
echo "lifecycleOperator:" >> values.yaml
fi
echo " schedulingGatesEnabled: true" >> tmp-values.yaml
echo " schedulingGatesEnabled: true" >> values.yaml
fi
helm install -n keptn-lifecycle-toolkit-system --create-namespace keptn ./ \
--values tmp-values.yaml \
--set lifecycleOperator.scheduler.imagePullPolicy=Never \
--values values.yaml \
--set lifecycleOperator.scheduler.image.tag=${{ inputs.runtime_tag }} \
--set lifecycleOperator.scheduler.image.repository="localhost:5000/keptn/scheduler" \
--set lifecycleOperator.lifecycleOperator.imagePullPolicy=Never \
--set lifecycleOperator.lifecycleOperator.image.tag=${{ inputs.runtime_tag }} \
--set lifecycleOperator.lifecycleOperator.image.repository="localhost:5000/keptn/lifecycle-operator" \
--set lifecycleOperator.lifecycleOperator.env.functionRunnerImage=localhost:5000/keptn/deno-runtime:${{ inputs.runtime_tag }} \
--set lifecycleOperator.lifecycleOperator.env.pythonRunnerImage=localhost:5000/keptn/python-runtime:${{ inputs.runtime_tag }} \
--set certManager.imagePullPolicy=Never \
--set certManager.image.tag=${{ inputs.runtime_tag }} \
--set certManager.image.repository="localhost:5000/keptn/certificate-operator" \
--set metricsOperator.imagePullPolicy=Never \
--set metricsOperator.env.enableKeptnAnalysis="true" \
--set metricsOperator.image.tag=${{ inputs.runtime_tag }} \
--set metricsOperator.image.repository="localhost:5000/keptn/metrics-operator" \
--debug --wait --timeout 1m
16 changes: 16 additions & 0 deletions .github/actions/deploy-klt-on-cluster/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
global:
imageRegistry: "localhost:5000"

certManager:
imagePullPolicy: Never

metricsOperator:
imagePullPolicy: Never
env:
enableKeptnAnalysis: "true"

lifecycleOperator:
lifecycleOperator:
imagePullPolicy: Never
scheduler:
imagePullPolicy: Never

0 comments on commit 7578a2a

Please sign in to comment.