Skip to content

Commit

Permalink
Merge pull request #33 from Jont828/go-arch-image-pull-fix
Browse files Browse the repository at this point in the history
Go arch image pull fix
  • Loading branch information
Jont828 authored Aug 15, 2023
2 parents 536f614 + 4ebae85 commit fd4fcc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ RUN npm run build
# compared to Ubuntu
FROM golang:1.20-alpine as builder

# Need to redeclare ARCH to use in Go build stage
ARG ARCH
ARG ldflags

# Set working directory
Expand Down
2 changes: 1 addition & 1 deletion helm/cluster-api-visualizer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
containers:
- name: capi-visualizer
image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ default .Chart.AppVersion .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.imagePullPolicy }}
ports:
- containerPort: 8081
serviceAccountName: capi-visualizer
2 changes: 1 addition & 1 deletion helm/cluster-api-visualizer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ replicas: 1
image:
repository: ghcr.io/jont828
name: cluster-api-visualizer
pullPolicy: Always
imagePullPolicy: Always

label:
key: app
Expand Down

0 comments on commit fd4fcc5

Please sign in to comment.