Some checks failed
Generate README / generate-parameters (push) Successful in 31s
Helm / helm-lint (push) Successful in 16s
Helm / helm-unittest (push) Failing after 18s
Markdown linter / markdown-link-checker (push) Successful in 33s
Markdown linter / markdown-lint (push) Successful in 31s
20 lines
539 B
Smarty
20 lines
539 B
Smarty
{{/* vim: set filetype=mustache: */}}
|
|
|
|
{{/* annotations */}}
|
|
|
|
{{- define "prometheus-postgres-exporter.networkPolicies.annotations" -}}
|
|
{{ include "prometheus-postgres-exporter.annotations" .context }}
|
|
{{- if .networkPolicy.annotations }}
|
|
{{ toYaml .networkPolicy.annotations }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{/* labels */}}
|
|
|
|
{{- define "prometheus-postgres-exporter.networkPolicies.labels" -}}
|
|
{{ include "prometheus-postgres-exporter.labels" .context }}
|
|
{{- if .networkPolicy.labels }}
|
|
{{ toYaml .networkPolicy.labels }}
|
|
{{- end }}
|
|
{{- end }}
|