Adding simplest helm chart.
This commit is contained in:
parent
4dc267e11f
commit
203f44f3cc
3 changed files with 34 additions and 0 deletions
25
2024/12/chart_demo1/templates/deployment.yaml
Normal file
25
2024/12/chart_demo1/templates/deployment.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: chart-demo1-depl
|
||||
labels:
|
||||
app: chart-demo1
|
||||
type: frontend
|
||||
spec:
|
||||
replicas: {{ .Values.Replicas }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: chart-demo1
|
||||
type: frontend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: chart-demo1
|
||||
type: frontend
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue