-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f79d653
commit d2a94eb
Showing
12 changed files
with
61 additions
and
443 deletions.
There are no files selected for viewing
15 changes: 1 addition & 14 deletions
15
charts/cert-manager-issuers/tests/__snapshot__/awspcaclusterissuers_test.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
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.3.0 | ||
name: example | ||
spec: | ||
arn: <some-pca-arn> | ||
{} |
19 changes: 1 addition & 18 deletions
19
charts/cert-manager-issuers/tests/__snapshot__/awspcaissuers_test.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
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.3.0 | ||
name: example | ||
spec: | ||
arn: <some-pca-arn> | ||
region: eu-west-1 | ||
secretRef: | ||
name: example | ||
namespace: default | ||
{} |
100 changes: 1 addition & 99 deletions
100
charts/cert-manager-issuers/tests/__snapshot__/clusterissuers_test.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1 @@ | ||
should create one selfsigned clusterissuer: | ||
1: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
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.3.0 | ||
name: cert-manager-issuers | ||
spec: | ||
selfSigned: {} | ||
should create two letsencrypt clusterissuers: | ||
1: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
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.3.0 | ||
name: letsencrypt-prod | ||
spec: | ||
acme: | ||
email: user@example.com | ||
privateKeySecretRef: | ||
name: letsencrypt-prod-account-key | ||
server: https://acme-v02.api.letsencrypt.org/directory | ||
solvers: | ||
- http01: | ||
ingress: | ||
class: nginx | ||
2: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
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.3.0 | ||
name: letsencrypt-staging | ||
spec: | ||
acme: | ||
email: user@example.com | ||
privateKeySecretRef: | ||
name: letsencrypt-staging-account-key | ||
server: https://acme-staging-v02.api.letsencrypt.org/directory | ||
solvers: | ||
- http01: | ||
ingress: | ||
class: nginx | ||
should match snapshot: | ||
1: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
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.3.0 | ||
name: cert-manager-issuers | ||
spec: | ||
selfSigned: {} | ||
2: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
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.3.0 | ||
name: top-level-name-syntax-sugar | ||
spec: | ||
selfSigned: {} | ||
3: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: ClusterIssuer | ||
metadata: | ||
annotations: | ||
foo: test | ||
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.3.0 | ||
name: top-level-name-and-metadata | ||
spec: | ||
selfSigned: {} | ||
{} |
108 changes: 1 addition & 107 deletions
108
charts/cert-manager-issuers/tests/__snapshot__/issuers_test.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1 @@ | ||
should create namespaced vault issuers: | ||
1: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
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.3.0 | ||
name: vault-issuer | ||
namespace: demo-com | ||
spec: | ||
vault: | ||
auth: {} | ||
caBundle: <base64 encoded CA Bundle PEM file> | ||
path: pki_int/sign/example-dot-com | ||
server: https://vault.local | ||
2: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
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.3.0 | ||
name: vault-issuer | ||
namespace: demo-org | ||
spec: | ||
vault: | ||
auth: {} | ||
caBundle: <base64 encoded CA Bundle PEM file> | ||
path: pki_int/sign/example-dot-org | ||
server: https://vault.local | ||
should disable issuers: | ||
1: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
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.3.0 | ||
name: active-issuer | ||
spec: | ||
selfSigned: {} | ||
should match snapshot: | ||
1: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
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.3.0 | ||
name: cert-manager-issuers | ||
spec: | ||
selfSigned: {} | ||
2: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
annotations: | ||
foo: bar | ||
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.3.0 | ||
name: test-with-name-and-annotations | ||
spec: | ||
selfSigned: {} | ||
3: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
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" | ||
foo: bar | ||
helm.sh/chart: cert-manager-issuers-0.3.0 | ||
name: test-with-labels-in-metadata | ||
spec: | ||
selfSigned: {} | ||
4: | | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
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.3.0 | ||
name: top-level-name-syntax-sugar | ||
spec: | ||
selfSigned: {} | ||
{} |
39 changes: 1 addition & 38 deletions
39
charts/csi-secret-provider-class/tests/__snapshot__/dummydeployment_test.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1 @@ | ||
should match snapshot: | ||
1: | | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app.kubernetes.io/app: csi-secret-provider-class | ||
app.kubernetes.io/instance: RELEASE-NAME | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/version: 0.3.0 | ||
helm.sh/chart: csi-secret-provider-class-0.3.4 | ||
name: release-name-csi-secret-provider-class | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/instance: RELEASE-NAME | ||
app.kubernetes.io/name: csi-secret-provider-class | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/instance: RELEASE-NAME | ||
app.kubernetes.io/name: csi-secret-provider-class | ||
spec: | ||
containers: | ||
- image: registry.k8s.io/pause:3.7 | ||
imagePullPolicy: IfNotPresent | ||
name: dummy | ||
volumeMounts: | ||
- mountPath: /vault | ||
name: csi-secret-store-volume | ||
readOnly: true | ||
volumes: | ||
- csi: | ||
driver: secrets-store.csi.k8s.io | ||
readOnly: true | ||
volumeAttributes: | ||
secretProviderClass: release-name-csi-secret-provider-class | ||
name: csi-secret-store-volume | ||
{} |
19 changes: 1 addition & 18 deletions
19
charts/csi-secret-provider-class/tests/__snapshot__/secretproviderclass_test.yaml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
should match snapshot: | ||
1: | | ||
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1 | ||
kind: SecretProviderClass | ||
metadata: | ||
labels: | ||
app.kubernetes.io/app: csi-secret-provider-class | ||
app.kubernetes.io/instance: RELEASE-NAME | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/version: 0.3.0 | ||
helm.sh/chart: csi-secret-provider-class-0.3.4 | ||
name: release-name-csi-secret-provider-class | ||
spec: | ||
parameters: | ||
foo: bar | ||
provider: fake | ||
secretObjects: | ||
- secretName: test | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.