From 2c80425811f4aac6b702fcfa913db0be54049c3a Mon Sep 17 00:00:00 2001 From: Richard Stephens Date: Wed, 7 Jan 2026 15:01:56 +0100 Subject: [PATCH] deploybot test --- helloworld-app/base/.deployment.yaml.swp | Bin 0 -> 1024 bytes helloworld-app/base/deployment.yaml | 26 +++++++++++++++++++++++ helloworld-app/base/kustomization.yaml | 8 +++++++ helloworld-app/base/service.yaml | 13 ++++++++++++ helloworld-app/base/web-content.yaml | 7 ++++++ 5 files changed, 54 insertions(+) create mode 100644 helloworld-app/base/.deployment.yaml.swp create mode 100644 helloworld-app/base/deployment.yaml create mode 100644 helloworld-app/base/kustomization.yaml create mode 100644 helloworld-app/base/service.yaml create mode 100644 helloworld-app/base/web-content.yaml diff --git a/helloworld-app/base/.deployment.yaml.swp b/helloworld-app/base/.deployment.yaml.swp new file mode 100644 index 0000000000000000000000000000000000000000..9dda81495fbf3f1836957cf83fa992fa32891e66 GIT binary patch literal 1024 zcmYc?$V<%2SFq4CWZIYIV!=i?Xq(0STp~7Ubkt d=BDPA=v5}>=HO5@Dm)qjqai?}5C}y#7XYyW6p{b{ literal 0 HcmV?d00001 diff --git a/helloworld-app/base/deployment.yaml b/helloworld-app/base/deployment.yaml new file mode 100644 index 0000000..8732d22 --- /dev/null +++ b/helloworld-app/base/deployment.yaml @@ -0,0 +1,26 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment + labels: + app: nginx +spec: + replicas: 2 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx-container + image: nginx:latest + volumeMounts: + - name: web-content-vol + mountPath: /usr/share/nginx/html + volumes: + - name: web-content-vol + configMap: + name: web-content diff --git a/helloworld-app/base/kustomization.yaml b/helloworld-app/base/kustomization.yaml new file mode 100644 index 0000000..5688faf --- /dev/null +++ b/helloworld-app/base/kustomization.yaml @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: helloworld-test +resources: +- deployment.yaml +- service.yaml +- web-content.yaml + diff --git a/helloworld-app/base/service.yaml b/helloworld-app/base/service.yaml new file mode 100644 index 0000000..feea0f9 --- /dev/null +++ b/helloworld-app/base/service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: nginx-svc +spec: + type: NodePort + selector: + app: nginx + ports: + - protocol: TCP + port: 80 + targetPort: 80 + diff --git a/helloworld-app/base/web-content.yaml b/helloworld-app/base/web-content.yaml new file mode 100644 index 0000000..67cd948 --- /dev/null +++ b/helloworld-app/base/web-content.yaml @@ -0,0 +1,7 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: web-content +data: + "index.html": "Hello world app rev0\n" +