Skip to content

Commit

Permalink
Update clusterrole (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Aug 16, 2023
1 parent 682508c commit 6a85b2d
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-operator
version: 0.35.0
version: 0.35.1
description: OpenTelemetry Operator Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -85,7 +85,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -29,7 +29,7 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -127,6 +127,18 @@ rules:
- get
- list
- update
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
Expand Down Expand Up @@ -179,6 +191,7 @@ rules:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- create
- delete
Expand All @@ -201,7 +214,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -219,7 +232,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -25,7 +25,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -31,7 +31,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: opentelemetry-operator
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: "example-opentelemetry-operator-cert-manager"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: "example-opentelemetry-operator-metrics"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -43,7 +43,7 @@ metadata:
name: "example-opentelemetry-operator-webhook"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.35.0
helm.sh/chart: opentelemetry-operator-0.35.1
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.82.0"
app.kubernetes.io/managed-by: Helm
Expand Down
13 changes: 13 additions & 0 deletions charts/opentelemetry-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,18 @@ rules:
- get
- list
- update
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
Expand Down Expand Up @@ -174,6 +186,7 @@ rules:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- create
- delete
Expand Down

0 comments on commit 6a85b2d

Please sign in to comment.