1
0
Fork 0
home-stack-kustomize/kustomize/overlays/prod-cluster/kustomization.yaml

44 lines
1023 B
YAML
Raw Normal View History

resources:
2021-08-26 16:42:41 +00:00
- ../../namespaces/kube-system
- ../../bases/longhorn
buildMetadata:
- originAnnotations
2021-09-26 21:00:29 +00:00
commonLabels:
2023-02-05 03:11:39 +00:00
app.kubernetes.io/managed-by: kustomize-cluster
2021-08-26 16:42:48 +00:00
configMapGenerator:
- name: cluster-replacements
namespace: default
literals:
- TRAEFIK_EXTERNAL_HOST=traefik.badjnet.home
- LONGHORN_EXTERNAL_HOST=longhorn.badjnet.home
2023-02-06 15:31:21 +00:00
replacements:
- source:
kind: ConfigMap
name: cluster-replacements
namespace: default
fieldPath: data.TRAEFIK_EXTERNAL_HOST
targets:
- select:
kind: Ingress
name: traefik
namespace: kube-system
fieldPaths:
- spec.rules.0.host
- source:
kind: ConfigMap
name: cluster-replacements
namespace: default
fieldPath: data.LONGHORN_EXTERNAL_HOST
targets:
- select:
kind: HelmChart
name: longhorn
namespace: kube-system
fieldPaths:
- spec.set.[ingress.host]
options:
create: true