Files
html-kube-tester/kustomization.yaml
2024-06-24 19:24:03 +02:00

34 lines
771 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: html-kube-tester
commonLabels:
app.kubernetes.io/instance: html-kube-tester
app.kubernetes.io/part-of: html-kube-tester
pod-security.kubernetes.io/enforce: restricted
pod-security.kubernetes.io/audit: restricted
pod-security.kubernetes.io/warn: restricted
configMapGenerator:
- name: html-kube-tester-config
files:
- config/init.sh
- config/content-git-repo
- config/replicas
resources:
- namespace.yaml
- deployment.yaml
- service.yaml
replacements:
- source:
kind: ConfigMap
name: html-kube-tester-config
fieldPath: data.replicas
targets:
- select:
kind: Deployment
name: html-kube-tester
fieldPaths:
- spec.replicas