Skip to content

Commit

Permalink
feat: fix clusterrole
Browse files Browse the repository at this point in the history
Signed-off-by: Zufar Dhiyaullhaq <[email protected]>
  • Loading branch information
zufardhiyaulhaq committed Sep 29, 2024
1 parent b0ffe9b commit aa4d951
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN CGO_ENABLED=0 go build main.go
#################
FROM gcr.io/distroless/base

ENV TZ="Asia/Jakarta"

COPY --from=builder /app/main /

CMD ["/main"]
2 changes: 1 addition & 1 deletion charts/istio-upgrade-worker/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
rules:
- apiGroups: ["apps"]
resources: ["deployments"]
resources: ["deployments", "statefulsets"]
verbs: ["*"]
- apiGroups: [""]
resources: ["configmaps"]
Expand Down
6 changes: 3 additions & 3 deletions charts/releases/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ entries:
istio-upgrade-worker:
- apiVersion: v2
appVersion: 1.0.0
created: "2024-09-29T09:58:33.355057+07:00"
digest: d225869bd30dd4eded6cc2470ef53755092855bd0eddab2f070c5f90b4f92cca
created: "2024-09-29T10:47:30.651282+07:00"
digest: a34757e30ffaa1dbf3936010aef4af1cda22eadab9b9744ba82db220eacfe29e
home: https://github.com/gopaytech/istio-upgrade-worker
maintainers:
- email: [email protected]
Expand All @@ -15,4 +15,4 @@ entries:
urls:
- istio-upgrade-worker-1.0.0.tgz
version: 1.0.0
generated: "2024-09-29T09:58:33.353057+07:00"
generated: "2024-09-29T10:47:30.650808+07:00"
Binary file modified charts/releases/istio-upgrade-worker-1.0.0.tgz
Binary file not shown.

0 comments on commit aa4d951

Please sign in to comment.