Skip to content

Commit

Permalink
EDIT orchard remove ui deployment postfix
Browse files Browse the repository at this point in the history
This is so that gitlab's autodevops won't error out on deployment when
checking the rollout status. It checks for deployment "orchard", so we
need at least 1 deployment named "orchard". Removing the "-ui" postfix
from the "orchard-ui" deployment was the easiest way to do this.
  • Loading branch information
ionparticle committed Jan 13, 2022
1 parent 110d3fa commit af89fb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion orchard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: Machine learning powered tutor-like app for first year calculus courses.
name: orchard
version: 0.2.11
version: 0.2.12
8 changes: 4 additions & 4 deletions orchard/templates/ui-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "orchard.fullname" . }}-ui
name: {{ template "orchard.fullname" . }}
spec:
replicas: {{ .Values.replicas.ui }}
selector:
matchLabels:
app: {{ template "orchard.fullname" . }}-ui
app: {{ template "orchard.fullname" . }}
replicas: 1
template:
metadata:
labels:
app: {{ template "orchard.fullname" . }}-ui
app: {{ template "orchard.fullname" . }}
spec:
containers:
- name: {{ template "orchard.fullname" . }}-ui
- name: {{ template "orchard.fullname" . }}
image: {{ .Values.image.ui | quote }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
Expand Down

0 comments on commit af89fb5

Please sign in to comment.