File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ COPY internal/ internal/
29
29
# build without specifing the arch
30
30
RUN CGO_ENABLED=1 go build -o source-controller main.go
31
31
32
- FROM alpine:3.12
32
+ FROM alpine:3.13
33
33
34
34
# link repo to the GitHub Container Registry image
35
35
LABEL org.opencontainers.image.source="https://github.com/fluxcd/source-controller"
@@ -44,7 +44,7 @@ COPY --from=builder /workspace/source-controller /usr/local/bin/
44
44
# https://github.com/gliderlabs/docker-alpine/issues/367#issuecomment-354316460
45
45
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
46
46
47
- RUN addgroup -S controller && adduser -S -g controller controller
47
+ RUN addgroup -S controller && adduser -S controller -G controller
48
48
49
49
USER controller
50
50
Original file line number Diff line number Diff line change 20
20
prometheus.io/port : " 8080"
21
21
spec :
22
22
terminationGracePeriodSeconds : 10
23
+ # Required for AWS IAM Role bindings
24
+ # https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html
25
+ securityContext :
26
+ fsGroup : 1337
23
27
containers :
24
28
- name : manager
25
29
image : fluxcd/source-controller
You can’t perform that action at this time.
0 commit comments