Skip to content

Commit

Permalink
Merge pull request clusterlink-net#312 from orozery/nit
Browse files Browse the repository at this point in the history
bootstrap/platform/k8s: Fix CRD-mode yaml
  • Loading branch information
orozery authored Feb 14, 2024
2 parents 2edce21 + fb62a50 commit 9180ef1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions pkg/bootstrap/platform/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ data:
---
apiVersion: v1
kind: Secret
metadata:
name: cl-peer
namespace: {{.namespace}}
data:
ca: {{.peerCA}}
---
apiVersion: v1
kind: Secret
metadata:
name: cl-controlplane
namespace: {{.namespace}}
Expand All @@ -65,6 +57,14 @@ data:
---
apiVersion: v1
kind: Secret
metadata:
name: cl-peer
namespace: {{.namespace}}
data:
ca: {{.peerCA}}
---
apiVersion: v1
kind: Secret
metadata:
name: gwctl
namespace: {{.namespace}}
Expand Down Expand Up @@ -112,9 +112,11 @@ spec:
- name: tls
secret:
secretName: cl-controlplane
{{ if not .crdMode }}
- name: cl-controlplane
persistentVolumeClaim:
claimName: cl-controlplane
{{ end }}
containers:
- name: cl-controlplane
image: {{.containerRegistry}}cl-controlplane
Expand Down

0 comments on commit 9180ef1

Please sign in to comment.