Skip to content

Commit 24304fe

Browse files
author
angelnu
committed
move namespaces
1 parent f295c78 commit 24304fe

17 files changed

+22
-4
lines changed

base/namespaces/authentik.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: authentik
5+
labels:
6+
cert-manager: CLUSTER_DOMAIN_CERT

base/namespaces/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4+
- authentik.yaml
45
- ceph.yaml
56
- ceph-rbd.yaml
67
- cert-manager.yaml
8+
- maddy.yaml
79
- monitoring.yaml
810
- nginx.yaml
911
- podinfo.yaml

base/namespaces/maddy.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: maddy
5+
labels:
6+
cert-manager: CLUSTER_DOMAIN_CERT
File renamed without changes.

core/kube-system/authentication/kustomization.yaml core/authentik/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
3-
namespace: kube-system
3+
namespace: authentik
44
resources:
55
- authentik-secret.yaml
66
- authentik-db.yaml

core/cert-manager/certificate.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,7 @@ spec:
6666
- '*.pub.${CLUSTER_DOMAIN}'
6767
# This dummy can be changed to circumvent Letsencrypt check for duplicated certs
6868
# The right fix is to backup certificates correctly
69-
- '*.${CLUSTER_DOMAIN_DUMMY}.${CLUSTER_DOMAIN}'
69+
- '*.${CLUSTER_DOMAIN_DUMMY}.${CLUSTER_DOMAIN}'
70+
secretTemplate:
71+
annotations:
72+
kubed.appscode.com/sync: "cert-manager=CLUSTER_DOMAIN_CERT" # Sync certificate to matching namespaces

core/cert-manager/kustomization.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ resources:
77
- cert-manager-dnsmadeeasy.yaml
88
- secret-dnsmadeeasy.yaml
99
- certificate.yaml
10-
- maddy #ToDo: move after certificate is copied to other namespaces
1110

core/kube-system/kustomization.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
namespace: kube-system
44
resources:
5-
- authentication
65
- config-syncer.yaml
76
- intel-gpu-plugin
87
- kubernetes-dashboard

core/kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4+
- authentik
45
- cert-manager
56
- ceph
67
- ceph-rbd
78
- flux-system
89
- kube-system
10+
- maddy
911
- monitoring
1012
- nginx
1113
- postgres

core/cert-manager/maddy/kustomization.yaml core/maddy/kustomization.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
3+
namespace: maddy
34
resources:
45
- secret.yaml
56
- release-fs.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)