Skip to content

Commit 836b18d

Browse files
committed
Fix errors with helm chart and dockerfile
1 parent 47f4761 commit 836b18d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflag
77
FROM scratch
88
COPY --from=builder /build/main /app/
99
WORKDIR /app
10-
USER scratchuser
1110
ENTRYPOINT ["./main"]

charts/azdo-git-proxy/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
imagePullPolicy: {{ .Values.image.pullPolicy }}
3333
args:
3434
- "--config"
35-
- "/config.json"
35+
- "/var/config.json"
3636
- "--port"
3737
- "8080"
3838
ports:
@@ -51,7 +51,7 @@ spec:
5151
{{- toYaml .Values.resources | nindent 12 }}
5252
volumeMounts:
5353
- name: config
54-
mountPath: "/"
54+
mountPath: "/var/"
5555
readOnly: true
5656
volumes:
5757
- name: config

charts/azdo-git-proxy/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ replicaCount: 1
33
image:
44
repository: quay.io/xenitab/azdo-git-proxy
55
pullPolicy: IfNotPresent
6-
tag: "0.1.0"
6+
tag: ""
77

88
imagePullSecrets: []
99
nameOverride: ""

0 commit comments

Comments
 (0)