kyverno 3.9.0 추가 — 자체 빌드 이미지 사용, 3.4.1 정리 (#57)
* kyverno 3.9.0(appVersion v1.19.0) 차트 추가 — 자체 빌드 이미지 사용 업스트림 이미지가 CVE 스캔 불가능한 베이스를 써서 자체 빌드로 대체한다(빌드 정의·근거는 hardened-containers). custom-values.yaml이 docker.io/paasup/* 7개 이미지를 가리키도록 고정했다. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * kyverno 3.4.1 삭제 3.9.0 추가 후 정리 --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ tpl .Values.configMapName . }}
|
||||
namespace: {{ default (include "kyverno.namespace" .) .Values.namespace }}
|
||||
annotations:
|
||||
{{- toYaml .Values.annotations | nindent 4 }}
|
||||
labels:
|
||||
{{- toYaml .Values.labels | nindent 4 }}
|
||||
data:
|
||||
{{ (.Files.Glob "dashboard/*").AsConfig | indent 2 }}
|
||||
---
|
||||
{{- if .Values.grafanaDashboard.create -}}
|
||||
{{ range $path, $_ := .Files.Glob "dashboard/*" -}}
|
||||
{{ $name := base $path }}
|
||||
apiVersion: grafana.integreatly.org/v1beta1
|
||||
kind: GrafanaDashboard
|
||||
metadata:
|
||||
name: {{ tpl $.Values.configMapName $ }}-{{ $name }}
|
||||
namespace: {{ default (include "kyverno.namespace" $ ) $.Values.namespace }}
|
||||
spec:
|
||||
allowCrossNamespaceImport: {{ $.Values.grafanaDashboard.allowCrossNamespaceImport }}
|
||||
folder: {{ $.Values.grafanaDashboard.folder }}
|
||||
instanceSelector:
|
||||
matchLabels:
|
||||
{{- toYaml $.Values.grafanaDashboard.matchLabels | nindent 6 }}
|
||||
configMapRef:
|
||||
name: {{ tpl $.Values.configMapName $ }}
|
||||
key: {{ $name }}
|
||||
---
|
||||
{{ end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user