diff --git a/justfile b/justfile index c551edf..11dd70b 100644 --- a/justfile +++ b/justfile @@ -7,8 +7,8 @@ test-lint: ./test/linter/test.sh test-unit: - helm plugin ls | grep unittest || helm plugin install https://github.com/quintush/helm-unittest - helm unittest -f 'test/unit/*.yaml' -3 . + helm plugin ls | grep unittest || helm plugin install https://github.com/helm-unittest/helm-unittest.git + helm unittest -f 'test/unit/*.yaml' . test: test-lint test-unit diff --git a/test/unit/ingress.yaml b/test/unit/ingress.yaml index f6de7b7..6d81e11 100644 --- a/test/unit/ingress.yaml +++ b/test/unit/ingress.yaml @@ -36,7 +36,7 @@ tests: path: / pathType: Prefix asserts: - - isEmpty: + - notExists: path: spec.ingressClassName - it: should render spec.ingressClassName if specified set: diff --git a/test/unit/job-annotations.yaml b/test/unit/job-annotations.yaml index e5fcf3e..bed78c0 100644 --- a/test/unit/job-annotations.yaml +++ b/test/unit/job-annotations.yaml @@ -32,9 +32,9 @@ tests: - it: should not have annotations by default asserts: - - isNull: + - isNullOrEmpty: path: spec.jobTemplate.spec.template.metadata template: cronjob-reconcile.yaml - - isNull: + - isNullOrEmpty: path: spec.template.metadata template: job-setup.yaml diff --git a/values.yaml b/values.yaml index 5aa4622..134e66c 100644 --- a/values.yaml +++ b/values.yaml @@ -44,7 +44,7 @@ cmak: reconcile: image: repository: "ghcr.io/eshepelyuk/dckr/cmak2zk" - tag: "1.0.0" + tag: "1.2.0" pullPolicy: IfNotPresent schedule: "*/3 * * * *" overwriteZk: true @@ -64,7 +64,7 @@ reconcile: ui: image: repository: "ghcr.io/eshepelyuk/dckr/cmak-3.0.0.6" - tag: "1.1.1" + tag: "1.2.0" pullPolicy: IfNotPresent port: 9000 # additional command line arguments