v1 release: Initial release

This commit is contained in:
Waylon S. Walker 2025-02-04 15:19:12 -06:00
commit b3d904805c
11 changed files with 1184 additions and 0 deletions

View file

@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-reverse-proxy
namespace: {{ .Values.namespace }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: nginx-reverse-proxy
template:
metadata:
labels:
app: nginx-reverse-proxy
annotations:
# Compute a checksum of the rendered ConfigMap template.
# This forces a pod restart when the config changes.
checksum/nginx-config: {{ include "nginx.configmap.content" . | sha256sum }}
spec:
containers:
- name: nginx
image: nginx:stable
ports:
- containerPort: 80
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/conf.d
volumes:
- name: nginx-config
configMap:
name: nginx-reverse-proxy-config