headscale/k8s/base/kustomization.yaml

43 lines
869 B
YAML
Raw Permalink Normal View History

namespace: headscale
resources:
2021-11-13 08:11:55 +00:00
- configmap.yaml
- ingress.yaml
- service.yaml
generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
2021-11-13 08:11:55 +00:00
- name: headscale-site
files:
- derp.yaml=site/derp.yaml
envs:
- site/public.env
- name: headscale-etc
literals:
- config.json={}
secretGenerator:
2021-11-13 08:11:55 +00:00
- name: headscale
files:
- secrets/private-key
vars:
2021-11-13 08:11:55 +00:00
- name: PUBLIC_PROTO
objRef:
kind: ConfigMap
name: headscale-site
apiVersion: v1
fieldRef:
fieldPath: data.public-proto
- name: PUBLIC_HOSTNAME
objRef:
kind: ConfigMap
name: headscale-site
apiVersion: v1
fieldRef:
fieldPath: data.public-hostname
- name: CONTACT_EMAIL
objRef:
kind: ConfigMap
name: headscale-site
apiVersion: v1
fieldRef:
fieldPath: data.contact-email