diff --git a/2024/12/chart_demo1/Chart.yaml b/2024/12/chart_demo1/Chart.yaml new file mode 100644 index 0000000..7316dba --- /dev/null +++ b/2024/12/chart_demo1/Chart.yaml @@ -0,0 +1,8 @@ +apiVersion: v2 +name: chart-demo1 +version: 0.0.1 +maintainers: + - name: "Tomasz Półgrabia" + email: tomasz@polgrabia.me + url: "https://code.polgrabia.me/" + diff --git a/2024/12/chart_demo1/templates/deployment.yaml b/2024/12/chart_demo1/templates/deployment.yaml new file mode 100644 index 0000000..da2cd9c --- /dev/null +++ b/2024/12/chart_demo1/templates/deployment.yaml @@ -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 + diff --git a/2024/12/chart_demo1/values.yaml b/2024/12/chart_demo1/values.yaml new file mode 100644 index 0000000..587a495 --- /dev/null +++ b/2024/12/chart_demo1/values.yaml @@ -0,0 +1 @@ +Replicas: 2