initial commit: adding app
This commit is contained in:
34
kustomization.yaml
Normal file
34
kustomization.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in New Issue
Block a user