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,3 @@
|
||||
apiVersion: v2
|
||||
name: grafana
|
||||
version: 3.9.0
|
||||
@@ -0,0 +1,16 @@
|
||||
# grafana
|
||||
|
||||

|
||||
|
||||
## Values
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| configMapName | string | `"{{ include \"kyverno.fullname\" . }}-grafana"` | Configmap name template. |
|
||||
| namespace | string | `nil` | Namespace to create the grafana dashboard configmap. If not set, it will be created in the same namespace where the chart is deployed. |
|
||||
| annotations | object | `{}` | Grafana dashboard configmap annotations. |
|
||||
| labels | object | `{"grafana_dashboard":"1"}` | Grafana dashboard configmap labels |
|
||||
| grafanaDashboard | object | `{"create":false,"matchLabels":{"dashboards":"grafana"}}` | create GrafanaDashboard custom resource referencing to the configMap. according to https://grafana-operator.github.io/grafana-operator/docs/examples/dashboard_from_configmap/readme/ |
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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 -}}
|
||||
@@ -0,0 +1,20 @@
|
||||
# -- Configmap name template.
|
||||
configMapName: '{{ include "kyverno.fullname" . }}-grafana'
|
||||
|
||||
# -- (string) Namespace to create the grafana dashboard configmap.
|
||||
# If not set, it will be created in the same namespace where the chart is deployed.
|
||||
namespace: ~
|
||||
|
||||
# -- Grafana dashboard configmap annotations.
|
||||
annotations: {}
|
||||
|
||||
# -- Grafana dashboard configmap labels
|
||||
labels:
|
||||
grafana_dashboard: "1"
|
||||
|
||||
# -- create GrafanaDashboard custom resource referencing to the configMap.
|
||||
# according to https://grafana-operator.github.io/grafana-operator/docs/examples/dashboard_from_configmap/readme/
|
||||
grafanaDashboard:
|
||||
create: false
|
||||
matchLabels:
|
||||
dashboards: "grafana"
|
||||
Reference in New Issue
Block a user