Skip to content

Commit 2d1a060

Browse files
authored
Merge pull request #80 from donovanmuller/cluster-role-fix
Use ClusterRoleBinding for ClusterRole and allow 'list' for CRD's
2 parents 5d4f5f4 + b350d69 commit 2d1a060

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

charts/dex/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
type: application
33
name: dex
4-
version: 0.8.1
4+
version: 0.8.2
55
appVersion: "2.31.1"
66
kubeVersion: ">=1.14.0-0"
77
description: OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors.
@@ -22,7 +22,7 @@ maintainers:
2222
annotations:
2323
artifacthub.io/changes: |
2424
- kind: changed
25-
description: "`ClusterRole` and `ClusterRoleBilding` to `Role` and `RoleBinding` to allow Deployments without ClusterPermissions"
25+
description: "Restore `ClusterRoleBinding` when using cluster scoped permissions"
2626
artifacthub.io/images: |
2727
- name: dex
2828
image: ghcr.io/dexidp/dex:v2.31.1

charts/dex/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dex
22

3-
![version: 0.8.1](https://img.shields.io/badge/version-0.8.1-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.31.1](https://img.shields.io/badge/app%20version-2.31.1-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex)
3+
![version: 0.8.2](https://img.shields.io/badge/version-0.8.2-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 2.31.1](https://img.shields.io/badge/app%20version-2.31.1-informational?style=flat-square) ![kube version: >=1.14.0-0](https://img.shields.io/badge/kube%20version->=1.14.0--0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-dex-informational?style=flat-square)](https://artifacthub.io/packages/helm/dex/dex)
44

55
OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors.
66

charts/dex/templates/rbac.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ metadata:
3535
rules:
3636
- apiGroups: ["apiextensions.k8s.io"]
3737
resources: ["customresourcedefinitions"]
38-
verbs: ["create"]
38+
verbs: ["list", "create"]
3939
---
4040
apiVersion: rbac.authorization.k8s.io/v1
41-
kind: RoleBinding
41+
kind: ClusterRoleBinding
4242
metadata:
4343
name: {{ include "dex.fullname" . }}-cluster
4444
labels:

0 commit comments

Comments
 (0)