Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
PatStLouis authored Dec 21, 2023
1 parent 9fefead commit 6953fac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ apiVersion: apps/v1
kind: Deployment
metadata:
namespace: {{ $.Values.namespace }}
name: {{ .name }}
name: {{ $.Values.app_name }}
labels:
app: {{ .name }}
app: {{ $.Values.app_name }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ .name }}
app: {{ $.Values.app_name }}
template:
metadata:
labels:
app: {{ .name }}
app: {{ $.Values.app_name }}
spec:
imagePullSecrets:
- name: regcred
containers:
- name: {{ .name }}
- name: {{ $.Values.app_name }}
image: "{{ .image }}:{{ .tag }}"
imagePullPolicy: Always
ports:
Expand Down

0 comments on commit 6953fac

Please sign in to comment.