Skip to content

Commit

Permalink
[operator] new value for k8s cluster domain (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
jouve authored Mar 22, 2024
1 parent 49f0427 commit 30763a7
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 20 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.51.3
version: 0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -90,7 +90,7 @@ metadata:
annotations:
cert-manager.io/inject-ca-from: default/example-opentelemetry-operator-serving-cert
labels:
helm.sh/chart: opentelemetry-operator-0.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -213,7 +213,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -231,7 +231,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.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.51.3
helm.sh/chart: opentelemetry-operator-0.52.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.96.0"
app.kubernetes.io/managed-by: Helm
Expand Down
2 changes: 1 addition & 1 deletion charts/opentelemetry-operator/templates/certmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
spec:
dnsNames:
- {{ template "opentelemetry-operator.fullname" . }}-webhook.{{ .Release.Namespace }}.svc
- {{ template "opentelemetry-operator.fullname" . }}-webhook.{{ .Release.Namespace }}.svc.cluster.local
- {{ template "opentelemetry-operator.fullname" . }}-webhook.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
issuerRef:
{{- if .Values.admissionWebhooks.certManager.issuerRef }}
{{- toYaml .Values.admissionWebhooks.certManager.issuerRef | nindent 4 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/opentelemetry-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"replicaCount",
"nameOverride",
"imagePullSecrets",
"clusterDomain",
"pdb",
"manager",
"kubeRBACProxy",
Expand Down Expand Up @@ -57,6 +58,11 @@
[]
]
},
"clusterDomain": {
"type": "string",
"default": "cluster.local",
"title": "Kubernetes cluster domain suffix"
},
"pdb": {
"type": "object",
"default": {},
Expand Down
3 changes: 3 additions & 0 deletions charts/opentelemetry-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ nameOverride: ""
## Reference one or more secrets to be used when pulling images from authenticated repositories.
imagePullSecrets: []

## Kubernetes cluster domain suffix
clusterDomain: cluster.local

## Pod Disruption Budget configuration
##
pdb:
Expand Down

0 comments on commit 30763a7

Please sign in to comment.