Skip to content

Commit

Permalink
fix(lifecycle-operator): remove scheduler from helm charts (#3855)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The Lifecycle Operator helm chart was adapted after removal of the Keptn Scheduler and many Helm values were simplified, please double check your values files and adapt them accordingly.
  • Loading branch information
odubajDT authored Nov 11, 2024
1 parent 3c671ee commit fd78a53
Show file tree
Hide file tree
Showing 18 changed files with 267 additions and 283 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ metricsOperator:
enabled: false

lifecycleOperator:
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
allowedNamespaces: [allowed-ns-test]
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ metricsOperator:
enabled: false

lifecycleOperator:
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ metricsOperator:

lifecycleOperator:
promotionTasksEnabled: true
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ metricsOperator:

lifecycleOperator:
promotionTasksEnabled: true
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ metricsOperator:

lifecycleOperator:
promotionTasksEnabled: true
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
13 changes: 6 additions & 7 deletions .github/actions/deploy-keptn-on-cluster/values/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ metricsOperator:

lifecycleOperator:
promotionTasksEnabled: true
lifecycleOperator:
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
imagePullPolicy: Never
image:
tag: $TAG
env:
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG
7 changes: 3 additions & 4 deletions .github/scripts/.helm-tests/default/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ certManager:
tag: v0.0.0
lifecycleOperator:
enabled: true
lifecycleOperator:
image:
tag: v0.0.0
imagePullPolicy: Never
image:
tag: v0.0.0
imagePullPolicy: Never
metricsOperator:
enabled: true
image:
Expand Down
11 changes: 5 additions & 6 deletions .github/scripts/.helm-tests/lifecycle-only/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ global:
lifecycleOperator:
enabled: true
promotionTasksEnabled: true
lifecycleOperator:
image:
repository: busybox
tag: 1.37
imagePullPolicy: Always
hostNetwork: true
image:
repository: busybox
tag: 1.37
imagePullPolicy: Always
hostNetwork: true
deniedNamespaces: ["foo", "bar"]

metricsOperator:
Expand Down
7 changes: 3 additions & 4 deletions .github/scripts/.helm-tests/lifecycle-with-certs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ certManager:
tag: v0.0.0
lifecycleOperator:
enabled: true
lifecycleOperator:
image:
tag: v0.0.0
imagePullPolicy: Never
image:
tag: v0.0.0
imagePullPolicy: Never
metricsOperator:
enabled: false
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
lifecycleOperator:
annotations:
test-annotation: "local" # will be used
lifecycleOperator:
image:
registry: "local-registry.io" # will be used
imagePullPolicy: Never # will be used
image:
registry: "local-registry.io" # will be used
imagePullPolicy: Never # will be used
metricsOperator:
annotations:
test-annotation: "local" # will be used
Expand Down
3 changes: 2 additions & 1 deletion docs/blog/posts/keptn-helm-umbrella-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ certManager:

lifecycleOperator:
enabled: false # installation of lifecycle-operator is disabled
metricsOperator:

metricsOperator:
replicas: 3 # installing 3 replicas of metrics-operator
annotations: # setting custom annotations for metrics-operator
myMetricsKey: metricsValue1
Expand Down
Loading

0 comments on commit fd78a53

Please sign in to comment.