commit 2c80425811f4aac6b702fcfa913db0be54049c3a Author: Richard Stephens Date: Wed Jan 7 15:01:56 2026 +0100 deploybot test diff --git a/helloworld-app/base/.deployment.yaml.swp b/helloworld-app/base/.deployment.yaml.swp new file mode 100644 index 0000000..9dda814 Binary files /dev/null and b/helloworld-app/base/.deployment.yaml.swp differ 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" +