feat: add helm chart for r209
This commit is contained in:
parent
cbfc0a53b3
commit
e38a775057
9 changed files with 157 additions and 1 deletions
30
tp3/templates/r209_deployment.yaml
Normal file
30
tp3/templates/r209_deployment.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: r209-deployment
|
||||
labels:
|
||||
app: r209-deployment
|
||||
spec:
|
||||
replicas: {{ .Values.r209.replicas }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: r209-deployment
|
||||
template:
|
||||
metadata:
|
||||
name: r209-deployment
|
||||
labels:
|
||||
app: r209-deployment
|
||||
spec:
|
||||
containers:
|
||||
- name: r209-deployment
|
||||
image: iut1r-registry.univ-grenoble-alpes.fr/but/r209-psql:{{.Values.r209.tag}}
|
||||
imagePullPolicy: {{ .Values.images.pullPolicy }}
|
||||
env:
|
||||
- name: POSTGRES_DB
|
||||
value: r209
|
||||
- name: POSTGRES_HOST
|
||||
value: db-service
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: db-secret
|
||||
restartPolicy: Always
|
||||
Loading…
Add table
Add a link
Reference in a new issue