argo-app/templates/apps.yaml

21 lines
330 B
YAML
Raw Normal View History

2023-09-27 19:39:02 +00:00
{{- 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 }}