Skip to content

Commit

Permalink
helm fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohan Enamala committed Apr 5, 2021
1 parent 7dfffc1 commit 0fc1855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Votingapp-Deployment/vote-app/templates/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: votingapp
name: vote-app
14 changes: 1 addition & 13 deletions Votingapp-Deployment/vote-app/templates/worker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,4 @@ spec:
command: ['sh', '-c','until pg_isready -h db -p 5432; do echo waiting for database; sleep 2; done;']
containers:
- name: worker-app
image: "{{ .Values.worker.image.repository }}:{{ .Values.worker.image.tag }}"
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: name
operator: In
values:
- redis-pod
topologyKey: "kubernetes.io/hostname"


image: "{{ .Values.worker.image.repository }}:{{ .Values.worker.image.tag }}"

0 comments on commit 0fc1855

Please sign in to comment.