Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent definition of securityContext schema values #1100

Merged
merged 7 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.52.3
version: 0.52.4
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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -91,7 +91,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -30,7 +30,7 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -214,7 +214,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -233,7 +233,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -26,7 +26,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -32,7 +32,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -44,7 +44,7 @@ metadata:
name: "example-opentelemetry-operator-webhook"
namespace: default
labels:
helm.sh/chart: opentelemetry-operator-0.52.3
helm.sh/chart: opentelemetry-operator-0.52.4
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down
56 changes: 6 additions & 50 deletions charts/opentelemetry-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1639,56 +1639,12 @@
]
},
"securityContext": {
"type": "object",
"default": {},
"title": "The securityContext Schema",
"required": [
"runAsGroup",
"runAsNonRoot",
"runAsUser",
"fsGroup"
],
"additionalProperties": false,
"properties": {
"runAsGroup": {
"type": "integer",
"default": 0,
"title": "The runAsGroup Schema",
"examples": [
65532
]
},
"runAsNonRoot": {
"type": "boolean",
"default": false,
"title": "The runAsNonRoot Schema",
"examples": [
true
]
},
"runAsUser": {
"type": "integer",
"default": 0,
"title": "The runAsUser Schema",
"examples": [
65532
]
},
"fsGroup": {
"type": "integer",
"default": 0,
"title": "The fsGroup Schema",
"examples": [
65532
]
}
},
"examples": [{
"runAsGroup": 65532,
"runAsNonRoot": true,
"runAsUser": 65532,
"fsGroup": 65532
}]
"type": "object",
"default": {},
"title": "The securityContext Schema",
"required": [],
"properties": {},
"examples": [{}]
},
"testFramework": {
"type": "object",
Expand Down
Loading