Skip to content

Commit

Permalink
Add apache-httpd to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
araiu authored and aaraiu committed Jun 21, 2024
1 parent aafd6f0 commit 39997b9
Show file tree
Hide file tree
Showing 15 changed files with 72 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.62.0
version: 0.63.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.0"
app.kubernetes.io/managed-by: Helm
Expand Down Expand Up @@ -223,7 +223,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.0"
app.kubernetes.io/managed-by: Helm
Expand All @@ -242,7 +242,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: opentelemetry-operator-0.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.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.62.0
helm.sh/chart: opentelemetry-operator-0.63.0
app.kubernetes.io/name: opentelemetry-operator
app.kubernetes.io/version: "0.102.0"
app.kubernetes.io/managed-by: Helm
Expand Down
3 changes: 3 additions & 0 deletions charts/opentelemetry-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ spec:
{{- if and .Values.manager.autoInstrumentationImage.go.repository .Values.manager.autoInstrumentationImage.go.tag }}
- --auto-instrumentation-go-image={{ .Values.manager.autoInstrumentationImage.go.repository }}:{{ .Values.manager.autoInstrumentationImage.go.tag }}
{{- end }}
{{- if and .Values.manager.autoInstrumentationImage.apacheHttpd.repository .Values.manager.autoInstrumentationImage.apacheHttpd.tag }}
- --auto-instrumentation-apache-httpd-image={{ .Values.manager.autoInstrumentationImage.apacheHttpd.repository }}:{{ .Values.manager.autoInstrumentationImage.apacheHttpd.tag }}
{{- end }}
{{- if .Values.manager.featureGates }}
- --feature-gates={{ .Values.manager.featureGates }}
{{- end }}
Expand Down
48 changes: 47 additions & 1 deletion charts/opentelemetry-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@
"nodejs",
"python",
"dotnet",
"go"
"go",
"apacheHttpd"
],
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -448,6 +449,38 @@
"repository": "",
"tag": ""
}]
},
"apacheHttpd": {
"type": "object",
"default": {},
"title": "The apache-httpd Schema",
"required": [
"repository",
"tag"
],
"additionalProperties": false,
"properties": {
"repository": {
"type": "string",
"default": "",
"title": "The repository Schema",
"examples": [
""
]
},
"tag": {
"type": "string",
"default": "",
"title": "The tag Schema",
"examples": [
""
]
}
},
"examples": [{
"repository": "",
"tag": ""
}]
}
},
"examples": [{
Expand All @@ -470,6 +503,10 @@
"go": {
"repository": "",
"tag": ""
},
"apacheHttpd": {
"repository": "",
"tag": ""
}
}]
},
Expand Down Expand Up @@ -1044,6 +1081,10 @@
"go": {
"repository": "",
"tag": ""
},
"apacheHttpd": {
"repository": "",
"tag": ""
}
},
"featureGates": "",
Expand Down Expand Up @@ -1805,6 +1846,11 @@
"go": {
"repository": "",
"tag": ""
},
"apacheHttpd":
{
"repository": "",
"tag": ""
}
},
"featureGates": "",
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 @@ -62,6 +62,9 @@ manager:
dotnet:
repository: ""
tag: ""
apacheHttpd:
repository: ""
tag: ""
# The Go instrumentation support in the operator is disabled by default.
# To enable it, use the operator.autoinstrumentation.go feature gate.
go:
Expand Down

0 comments on commit 39997b9

Please sign in to comment.