v1 release: Initial release
This commit is contained in:
commit
b3d904805c
11 changed files with 1184 additions and 0 deletions
31
helm-chart/templates/deployment.yaml
Normal file
31
helm-chart/templates/deployment.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue