Skip to content

Commit 4b1fb13

Browse files
committed
correct commonName for certificates
1 parent ec34e49 commit 4b1fb13

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

deploy/helm/kubernetes/templates/etcd-certs.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: Certificate
66
metadata:
77
name: "{{ $fullName }}-pki-etcd-ca"
88
spec:
9-
commonName: "{{ $fullName }}-pki-etcd-ca"
9+
commonName: "{{ $fullName }}-etcd-ca"
1010
secretName: "{{ $fullName }}-pki-etcd-ca"
1111
duration: 87600h # 3650d
1212
renewBefore: 8760h # 365d
@@ -44,7 +44,7 @@ kind: Certificate
4444
metadata:
4545
name: "{{ $fullName }}-pki-etcd-peer"
4646
spec:
47-
commonName: "{{ $fullName }}-pki-etcd-peer"
47+
commonName: "{{ $fullName }}-etcd-peer"
4848
secretName: "{{ $fullName }}-pki-etcd-peer"
4949
duration: 8760h # 365d
5050
renewBefore: 4380h # 178d
@@ -75,7 +75,7 @@ kind: Certificate
7575
metadata:
7676
name: "{{ $fullName }}-pki-etcd-server"
7777
spec:
78-
commonName: "{{ $fullName }}-pki-etcd-server"
78+
commonName: "{{ $fullName }}-etcd-server"
7979
secretName: "{{ $fullName }}-pki-etcd-server"
8080
duration: 8760h # 365d
8181
renewBefore: 4380h # 178d
@@ -120,7 +120,7 @@ kind: Certificate
120120
metadata:
121121
name: "{{ $fullName }}-pki-etcd-healthcheck-client"
122122
spec:
123-
commonName: "{{ $fullName }}-pki-etcd-healthcheck-client"
123+
commonName: "{{ $fullName }}-etcd-healthcheck-client"
124124
secretName: "{{ $fullName }}-pki-etcd-healthcheck-client"
125125
duration: 8760h # 365d
126126
renewBefore: 4380h # 178d
@@ -140,7 +140,7 @@ kind: Certificate
140140
metadata:
141141
name: "{{ $fullName }}-pki-apiserver-etcd-client"
142142
spec:
143-
commonName: "{{ $fullName }}-pki-apiserver-etcd-client"
143+
commonName: "{{ $fullName }}-apiserver-etcd-client"
144144
secretName: "{{ $fullName }}-pki-apiserver-etcd-client"
145145
duration: 8760h # 365d
146146
renewBefore: 4380h # 178d

deploy/helm/kubernetes/templates/konnectivity-certs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: Certificate
66
metadata:
77
name: "{{ $fullName }}-pki-konnectivity-ca"
88
spec:
9-
commonName: "{{ $fullName }}-pki-konnectivity-ca"
9+
commonName: "{{ $fullName }}-konnectivity-ca"
1010
secretName: "{{ $fullName }}-pki-konnectivity-ca"
1111
duration: 87600h # 3650d
1212
renewBefore: 8760h # 365d
@@ -41,7 +41,7 @@ kind: Certificate
4141
metadata:
4242
name: "{{ $fullName }}-pki-konnectivity-server"
4343
spec:
44-
commonName: "{{ $fullName }}-pki-konnectivity-server"
44+
commonName: "{{ $fullName }}-konnectivity-server"
4545
secretName: "{{ $fullName }}-pki-konnectivity-server"
4646
duration: 8760h # 365d
4747
renewBefore: 4380h # 178d
@@ -71,7 +71,7 @@ kind: Certificate
7171
metadata:
7272
name: "{{ $fullName }}-pki-konnectivity-client"
7373
spec:
74-
commonName: "{{ $fullName }}-pki-konnectivity-client"
74+
commonName: "{{ $fullName }}-konnectivity-client"
7575
secretName: "{{ $fullName }}-pki-konnectivity-client"
7676
duration: 8760h # 365d
7777
renewBefore: 4380h # 178d

deploy/helm/kubernetes/templates/kubernetes-certs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kind: Certificate
55
metadata:
66
name: "{{ $fullName }}-pki-ca"
77
spec:
8-
commonName: "{{ $fullName }}-pki-ca"
8+
commonName: "{{ $fullName }}-ca"
99
secretName: "{{ $fullName }}-pki-ca"
1010
duration: 87600h # 3650d
1111
renewBefore: 8760h # 365d
@@ -40,7 +40,7 @@ kind: Certificate
4040
metadata:
4141
name: "{{ $fullName }}-pki-apiserver"
4242
spec:
43-
commonName: "{{ $fullName }}-pki-apiserver"
43+
commonName: "{{ $fullName }}-apiserver"
4444
secretName: "{{ $fullName }}-pki-apiserver"
4545
duration: 8760h # 365d
4646
renewBefore: 4380h # 178d
@@ -82,7 +82,7 @@ kind: Certificate
8282
metadata:
8383
name: "{{ $fullName }}-pki-apiserver-kubelet-client"
8484
spec:
85-
commonName: "{{ $fullName }}-pki-apiserver-kubelet-client"
85+
commonName: "{{ $fullName }}-apiserver-kubelet-client"
8686
secretName: "{{ $fullName }}-pki-apiserver-kubelet-client"
8787
duration: 8760h # 365d
8888
renewBefore: 4380h # 178d

deploy/helm/kubernetes/templates/kubernetes-front-proxy-certs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: Certificate
66
metadata:
77
name: "{{ $fullName }}-pki-front-proxy-ca"
88
spec:
9-
commonName: "{{ $fullName }}-pki-front-proxy-ca"
9+
commonName: "{{ $fullName }}-front-proxy-ca"
1010
secretName: "{{ $fullName }}-pki-front-proxy-ca"
1111
duration: 87600h # 3650d
1212
renewBefore: 8760h # 365d
@@ -35,7 +35,7 @@ kind: Certificate
3535
metadata:
3636
name: "{{ $fullName }}-pki-front-proxy-client"
3737
spec:
38-
commonName: "{{ $fullName }}-pki-front-proxy-client"
38+
commonName: "{{ $fullName }}-front-proxy-client"
3939
secretName: "{{ $fullName }}-pki-front-proxy-client"
4040
duration: 8760h # 365d
4141
renewBefore: 4380h # 178d

0 commit comments

Comments
 (0)