26 lines
608 B
YAML
26 lines
608 B
YAML
# kustomize build deploy/k8s | kubectl apply -f -
|
|
#
|
|
# The files are numbered so a plain `kubectl apply -f deploy/k8s/` in
|
|
# alphabetical order also lands in a working order: namespace and config
|
|
# first, then identity, then the workload, then the networking.
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: dns
|
|
|
|
resources:
|
|
- 00-config.yaml
|
|
- 05-serviceaccount.yaml
|
|
- 10-deployment.yaml
|
|
- 20-service.yaml
|
|
- 30-ingress.yaml
|
|
|
|
labels:
|
|
- includeSelectors: false
|
|
pairs:
|
|
app.kubernetes.io/part-of: fancy-dns
|
|
|
|
images:
|
|
- name: fancydns/fancy-dns
|
|
newTag: latest
|