Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
devantler committed Aug 24, 2023
1 parent 0d303be commit 29768c1
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 18 deletions.
11 changes: 11 additions & 0 deletions k8s/configs/base/certificates/certificate-local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: certificate-local
namespace: traefik-ingress
spec:
secretName: certificate-local-tls
selfSigned: {}
issuerRef:
name: selfsigned-local
kind: ClusterIssuer
6 changes: 6 additions & 0 deletions k8s/configs/base/cluster-issuers/selfsigned-local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned-local
spec:
selfSigned: {}
11 changes: 2 additions & 9 deletions k8s/configs/overlays/local/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base/cluster-issuers/letsencrypt-staging.yaml
- ../../base/certificates/certificate-staging.yaml

patches:
- path: patches/certificate-staging-values.yaml
target:
kind: Certificate
name: certificate-staging
namespace: traefik-ingress
- ../../base/cluster-issuers/selfsigned-local.yaml
- ../../base/certificates/certificate-local.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
tlsStore:
default:
defaultCertificate:
secretName: certificate-staging-tls
secretName: certificate-local-tls

0 comments on commit 29768c1

Please sign in to comment.