diff --git a/charts/cert-manager-issuers/tests/__snapshot__/awspcaclusterissuers_test.yaml.snap b/charts/cert-manager-issuers/tests/__snapshot__/awspcaclusterissuers_test.yaml.snap new file mode 100644 index 000000000..14c6d9333 --- /dev/null +++ b/charts/cert-manager-issuers/tests/__snapshot__/awspcaclusterissuers_test.yaml.snap @@ -0,0 +1,14 @@ +should create a AWSPCAIssuer: + 1: | + apiVersion: awspca.cert-manager.io/v1beta1 + kind: AWSPCAClusterIssuer + metadata: + labels: + app.kubernetes.io/app: cert-manager-issuers + app.kubernetes.io/instance: RELEASE-NAME + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: "1" + helm.sh/chart: cert-manager-issuers-0.2.6 + name: example + spec: + arn: diff --git a/charts/cert-manager-issuers/tests/__snapshot__/awspcaissuers_test.yaml.snap b/charts/cert-manager-issuers/tests/__snapshot__/awspcaissuers_test.yaml.snap new file mode 100644 index 000000000..82e2b9fe6 --- /dev/null +++ b/charts/cert-manager-issuers/tests/__snapshot__/awspcaissuers_test.yaml.snap @@ -0,0 +1,18 @@ +should create a AWSPCAClusterIssuer: + 1: | + apiVersion: awspca.cert-manager.io/v1beta1 + kind: AWSPCAIssuer + metadata: + labels: + app.kubernetes.io/app: cert-manager-issuers + app.kubernetes.io/instance: RELEASE-NAME + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: "1" + helm.sh/chart: cert-manager-issuers-0.2.6 + name: example + spec: + arn: + region: eu-west-1 + secretRef: + name: example + namespace: default diff --git a/charts/cert-manager-issuers/tests/__snapshot__/clusterissuers_test.yaml.snap b/charts/cert-manager-issuers/tests/__snapshot__/clusterissuers_test.yaml.snap index eae6bfa5b..c9cb6ecef 100644 --- a/charts/cert-manager-issuers/tests/__snapshot__/clusterissuers_test.yaml.snap +++ b/charts/cert-manager-issuers/tests/__snapshot__/clusterissuers_test.yaml.snap @@ -8,7 +8,7 @@ should create one selfsigned clusterissuer: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: cert-manager-issuers spec: selfSigned: {} @@ -22,7 +22,7 @@ should create two letsencrypt clusterissuers: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: letsencrypt-prod spec: acme: @@ -31,9 +31,9 @@ should create two letsencrypt clusterissuers: name: letsencrypt-prod-account-key server: https://acme-v02.api.letsencrypt.org/directory solvers: - - http01: - ingress: - class: nginx + - http01: + ingress: + class: nginx 2: | apiVersion: cert-manager.io/v1 kind: ClusterIssuer @@ -43,7 +43,7 @@ should create two letsencrypt clusterissuers: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: letsencrypt-staging spec: acme: @@ -52,9 +52,9 @@ should create two letsencrypt clusterissuers: name: letsencrypt-staging-account-key server: https://acme-staging-v02.api.letsencrypt.org/directory solvers: - - http01: - ingress: - class: nginx + - http01: + ingress: + class: nginx should match snapshot: 1: | apiVersion: cert-manager.io/v1 @@ -65,7 +65,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: cert-manager-issuers spec: selfSigned: {} @@ -78,7 +78,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: top-level-name-syntax-sugar spec: selfSigned: {} @@ -93,7 +93,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: top-level-name-and-metadata spec: selfSigned: {} diff --git a/charts/cert-manager-issuers/tests/__snapshot__/issuers_test.yaml.snap b/charts/cert-manager-issuers/tests/__snapshot__/issuers_test.yaml.snap index 0f0c691b9..89cebea11 100644 --- a/charts/cert-manager-issuers/tests/__snapshot__/issuers_test.yaml.snap +++ b/charts/cert-manager-issuers/tests/__snapshot__/issuers_test.yaml.snap @@ -8,7 +8,7 @@ should create namespaced vault issuers: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: vault-issuer namespace: demo-com spec: @@ -26,7 +26,7 @@ should create namespaced vault issuers: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: vault-issuer namespace: demo-org spec: @@ -45,7 +45,7 @@ should disable issuers: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: active-issuer spec: selfSigned: {} @@ -59,7 +59,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: cert-manager-issuers spec: selfSigned: {} @@ -74,7 +74,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: test-with-name-and-annotations spec: selfSigned: {} @@ -88,7 +88,7 @@ should match snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" foo: bar - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: test-with-labels-in-metadata spec: selfSigned: {} @@ -101,7 +101,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/version: "1" - helm.sh/chart: cert-manager-issuers-0.2.5 + helm.sh/chart: cert-manager-issuers-0.2.6 name: top-level-name-syntax-sugar spec: selfSigned: {} diff --git a/charts/cert-manager-issuers/tests/awspcaclusterissuers_test.yaml b/charts/cert-manager-issuers/tests/awspcaclusterissuers_test.yaml new file mode 100644 index 000000000..532b192ab --- /dev/null +++ b/charts/cert-manager-issuers/tests/awspcaclusterissuers_test.yaml @@ -0,0 +1,9 @@ +suite: AWSPCAClusterIssuer tests +templates: + - awspcaclusterissuers.yaml +tests: + - it: should create a AWSPCAIssuer + values: + - ../examples/awspcaissuer.yaml + asserts: + - matchSnapshot: {} diff --git a/charts/cert-manager-issuers/tests/awspcaissuers_test.yaml b/charts/cert-manager-issuers/tests/awspcaissuers_test.yaml new file mode 100644 index 000000000..87f8111b4 --- /dev/null +++ b/charts/cert-manager-issuers/tests/awspcaissuers_test.yaml @@ -0,0 +1,9 @@ +suite: AWSPCAIssuer tests +templates: + - awspcaissuers.yaml +tests: + - it: should create a AWSPCAClusterIssuer + values: + - ../examples/awspcaclusterissuer.yaml + asserts: + - matchSnapshot: {}