Switch to using kustomize
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
a3b2defb4c
commit
e5be0e4f4b
@ -14,6 +14,9 @@ spec:
|
|||||||
path: manifests/tailscale-operator
|
path: manifests/tailscale-operator
|
||||||
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
kustomize:
|
||||||
|
commonLabels:
|
||||||
|
app.kubernetes.io/instance: scaleway
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated: {}
|
automated: {}
|
||||||
syncOptions:
|
syncOptions:
|
||||||
|
12
manifests/tailscale-operator/kustomization.yaml
Normal file
12
manifests/tailscale-operator/kustomization.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: tailscale-operator
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
app.kubernetes.io/name: tailscale-operator
|
||||||
|
app.kubernetes.io/instance: tailscale-operator
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- rbac.yaml
|
||||||
|
- manifest.yaml
|
@ -35,6 +35,9 @@ spec:
|
|||||||
- env:
|
- env:
|
||||||
- name: OPERATOR_HOSTNAME
|
- name: OPERATOR_HOSTNAME
|
||||||
value: tailscale-operator
|
value: tailscale-operator
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.labels['app.kubernetes.io/instance']
|
||||||
- name: OPERATOR_SECRET
|
- name: OPERATOR_SECRET
|
||||||
value: operator
|
value: operator
|
||||||
- name: OPERATOR_LOGGING
|
- name: OPERATOR_LOGGING
|
||||||
|
Loading…
Reference in New Issue
Block a user