initial
This commit is contained in:
20
templates/apps.yaml
Normal file
20
templates/apps.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
{{- range until (.Values.nb_app|int) }}
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: app-{{.}}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: "{{.}}"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: "{{.}}"
|
||||
spec:
|
||||
containers:
|
||||
- name: app
|
||||
image: nginx:1.25.2-alpine
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user