Skip to content

Commit

Permalink
Fix permissions binding
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 committed Dec 28, 2024
1 parent 3c1b6d3 commit 98ea7fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ops/helm-charts/oso-dagster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: oso-dagster
description: Extension of the dagster template

type: application
version: 0.7.0
version: 0.8.0
appVersion: "1.0.0"
dependencies:
- name: dagster
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
kind: ClusterRoleBinding
metadata:
name: dagster-scaler-role-binding
name: {{ .Release.Name }}-scaler-role-binding
subjects:
- kind: ServiceAccount
name: {{ .Values.dagster.global.serviceAccountName }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: Role
name: dagster-scaler-role
kind: ClusterRole
name: {{ .Release.Name }}-scaler-role
apiGroup: rbac.authorization.k8s.io
4 changes: 2 additions & 2 deletions ops/helm-charts/oso-dagster/templates/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
kind: ClusterRole
metadata:
name: dagster-scaler-role
name: {{ .Release.Name }}-scaler-role
rules:
- apiGroups: ["apps"] # API group for deployments
resources: ["deployments"] # Specific subresource for scaling
Expand Down

0 comments on commit 98ea7fe

Please sign in to comment.