Skip to content

Commit

Permalink
Merge pull request #739 from uselagoon/fix-storagecalc-metrics-role
Browse files Browse the repository at this point in the history
fix: cluster role for storage-calculator
  • Loading branch information
shreddedbacon authored Jan 9, 2025
2 parents 0be8ff9 + 4bec487 commit 43e7e0c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
6 changes: 2 additions & 4 deletions charts/lagoon-remote/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# This is the chart version. This version number should be incremented each
# time you make changes to the chart and its templates, including the app
# version.
version: 0.96.1
version: 0.96.2

dependencies:
- name: lagoon-build-deploy
Expand All @@ -41,6 +41,4 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: changed
description: update build-deploy chart dependency to 0.31.1
- kind: changed
description: update storage-calculator to metrics servicemonitor
description: update storage-calculator metrics role
24 changes: 24 additions & 0 deletions charts/lagoon-remote/templates/storage-calculator.clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,28 @@ rules:
verbs:
- get
- list
- apiGroups:
- "authentication.k8s.io"
resources:
- tokenreviews
verbs:
- "create"
- apiGroups:
- "authorization.k8s.io"
resources:
- subjectaccessreviews
verbs:
- "create"
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,4 @@ rules:
verbs:
- create
- patch
- apiGroups:
- "authentication.k8s.io"
resources:
- tokenreviews
verbs:
- "create"
- apiGroups:
- "authorization.k8s.io"
resources:
- subjectaccessreviews
verbs:
- "create"
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
{{- end }}

0 comments on commit 43e7e0c

Please sign in to comment.