a79e959c60
* 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>
24 lines
731 B
YAML
24 lines
731 B
YAML
{{- if and .Values.prometheusRule.enabled .Values.prometheusRule.spec }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: PrometheusRule
|
|
metadata:
|
|
name: {{ template "kyverno.fullname" . }}
|
|
{{- if .Values.prometheusRule.namespace }}
|
|
namespace: {{ .Values.prometheusRule.namespace }}
|
|
{{- else }}
|
|
namespace: {{ template "kyverno.namespace" . }}
|
|
{{- end }}
|
|
{{- with .Values.prometheusRule.additionalAnnotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- include "kyverno.labels.common" . | nindent 4 }}
|
|
{{- with .Values.prometheusRule.additionalLabels }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
groups:
|
|
{{- toYaml .Values.prometheusRule.spec | nindent 4 }}
|
|
{{- end }}
|