Skip to content

Commit

Permalink
make yurt-controller-manager take care of webhook configurations and …
Browse files Browse the repository at this point in the history
…certs
  • Loading branch information
gnunu committed Jan 4, 2023
1 parent a3775a1 commit 2bde1c0
Show file tree
Hide file tree
Showing 17 changed files with 466 additions and 394 deletions.
27 changes: 27 additions & 0 deletions charts/openyurt/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
{{/* vim: set filetype=mustache: */}}

{{- define "yurt-controller-manager.fullname" -}}
yurt-controller-manager
{{- end -}}

{{- define "yurt-controller-manager.name" -}}
yurt-controller-manager
{{- end -}}

{{/*
Selector labels
*/}}
{{- define "yurt-controller-manager.selectorLabels" -}}
app.kubernetes.io/name: {{ include "yurt-controller-manager.name" . }}
app.kubernetes.io/instance: {{ printf "yurt-controller-manager-%s" .Release.Name }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "yurt-controller-manager.labels" -}}
{{ include "yurt-controller-manager.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions charts/openyurt/templates/admission-webhooks/job-patch/role.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions charts/openyurt/templates/admission-webhooks/webhookService.yaml

This file was deleted.

Loading

0 comments on commit 2bde1c0

Please sign in to comment.