Skip to content

Commit

Permalink
Merge pull request #4653 from KEDLogic/kubernetess_api_version_update
Browse files Browse the repository at this point in the history
API version updates
  • Loading branch information
zencircle authored Mar 21, 2023
2 parents b7e24a0 + 145a2d5 commit 015e804
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion kubernetes/cluster-admin-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# namespace: <namespace>

---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-admin-rbac
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/cluster-admin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-admin-role
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/jenkins/ambassador/ambassador-rbac-public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
selector:
service: ambassador
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ambassador-jenkins
Expand All @@ -49,7 +49,7 @@ metadata:
name: ambassador
namespace: jenkins-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: ambassador-jenkins
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/jenkins/jenkins-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Namespace
metadata:
name: jenkins-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-jenkins-rbac
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-{{ .Release.Name }}
rules:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-binding-{{ .Release.Name }}
subjects:
Expand Down

0 comments on commit 015e804

Please sign in to comment.