added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
@@ -0,0 +1,52 @@
{{- if and .Values.admissionWebhooks.create .Values.admissionWebhooks.certManager.enabled }}
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
{{- if .Values.admissionWebhooks.certManager.certificateAnnotations }}
annotations:
{{- toYaml .Values.admissionWebhooks.certManager.certificateAnnotations | nindent 4 }}
{{- end }}
labels:
{{- include "opentelemetry-operator.labels" . | nindent 4 }}
app.kubernetes.io/component: webhook
name: {{ template "opentelemetry-operator.webhookCertName" . }}
namespace: {{ .Release.Namespace }}
spec:
{{- if .Values.admissionWebhooks.certManager.duration }}
duration: {{ .Values.admissionWebhooks.certManager.duration }}
{{- end }}
{{- if .Values.admissionWebhooks.certManager.renewBefore }}
renewBefore: {{ .Values.admissionWebhooks.certManager.renewBefore }}
{{- end }}
dnsNames:
- {{ template "opentelemetry-operator.fullname" . }}-webhook.{{ .Release.Namespace }}.svc
- {{ template "opentelemetry-operator.fullname" . }}-webhook.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
issuerRef:
{{- if .Values.admissionWebhooks.certManager.issuerRef }}
{{- toYaml .Values.admissionWebhooks.certManager.issuerRef | nindent 4 }}
{{- else }}
kind: Issuer
name: {{ template "opentelemetry-operator.fullname" . }}-selfsigned-issuer
{{- end }}
secretName: {{ default (printf "%s-controller-manager-service-cert" (include "opentelemetry-operator.fullname" .)) .Values.admissionWebhooks.secretName }}
subject:
organizationalUnits:
- {{ template "opentelemetry-operator.fullname" . }}
{{- if not .Values.admissionWebhooks.certManager.issuerRef }}
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
{{- if .Values.admissionWebhooks.certManager.issuerAnnotations }}
annotations:
{{- toYaml .Values.admissionWebhooks.certManager.issuerAnnotations | nindent 4 }}
{{- end }}
labels:
{{- include "opentelemetry-operator.labels" . | nindent 4 }}
app.kubernetes.io/component: webhook
name: {{ template "opentelemetry-operator.fullname" . }}-selfsigned-issuer
namespace: {{ .Release.Namespace }}
spec:
selfSigned: {}
{{- end }}
{{- end }}