Created
April 25, 2023 23:13
-
-
Save EvilFreelancer/a4a8221e3d3c6ab272bbe0efa8a5442a to your computer and use it in GitHub Desktop.
Helm chart example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: {{ .Values.deployment.name }} | |
| namespace: {{ .Values.namespace }} | |
| spec: | |
| replicas: {{ .Values.deployment.replicas }} | |
| selector: | |
| matchLabels: | |
| app: {{ .Values.deployment.appLabel }} | |
| template: | |
| metadata: | |
| labels: | |
| app: {{ .Values.deployment.appLabel }} | |
| spec: | |
| containers: | |
| - name: {{ .Values.deployment.containerName }} | |
| image: {{ .Values.deployment.image }} | |
| ports: | |
| - containerPort: {{ .Values.deployment.containerPort }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment