33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
annotations:
|
|
{{- if .Values.global.commonAnnotations }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- if .Values.global.commonLabels }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
app.kubernetes.io/part-of: federatorai
|
|
name: cluster-info
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- if not (lookup "v1" "ConfigMap" .Release.Namespace "kube-kmconfig") }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
annotations:
|
|
{{- if .Values.global.commonAnnotations }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- if .Values.global.commonLabels }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
app.kubernetes.io/part-of: federatorai
|
|
name: kube-kmconfig
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- end }}
|