Closed SaphMB closed 1 month ago
acceptance worked:
helm install ske-operator . \
--namespace kratix-platform-system \
--create-namespace \
--values values.yaml
NAME: ske-operator
LAST DEPLOYED: Wed Oct 16 14:10:33 2024
NAMESPACE: kratix-platform-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
(⎈|kind-platform:default) | jake@Jakes-MacBook-Pro-2 [14:10:34] [~/workspace/helm-charts/ske-operator] [install-operator-at-fixed-version]
-> % k -n kratix-platform-system get pod ske-operator-controller-manager-5f74dd4d5b-4b864 -o yaml | grep image:
image: ghcr.io/syntasso/ske-operator:v0.3.1
- image: ghcr.io/syntasso/ske-operator:v0.3.1
Expected behaviour for acceptance
Default with no attempt to set the
tag
Context: A
Chart.yaml
where appVersion = v0.3.1 (reflecting the Operator version).imageRegistry.tag
is not set.Setup cluster with cert-manager
Update
values.yaml
Install Chart with
values.yaml
Check operator version
SKE Operator version should match the
appVersion
inChart.yaml
Image tag should match the
appVersion
inChart.yaml
Attempting to set the deprecated
tag
Context: A
Chart.yaml
where appVersion = v0.3.1 (reflecting the Operator version).imageRegistry.tag
is set tov0.2.0
.tl;dr same behaviour with the tag ignored
Setup cluster with cert-manager
Update
values.yaml
Install Chart with
values.yaml
Check operator version
SKE Operator version should match the
appVersion
inChart.yaml
Image tag should match the
appVersion
inChart.yaml