initial commit: adding app

This commit is contained in:
Simon Belmas
2024-06-24 19:24:03 +02:00
parent 9b4b61d72c
commit 18c1375be6
8 changed files with 186 additions and 0 deletions

34
kustomization.yaml Normal file
View 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