Files
nplus/charts/application/templates/application.tpl

20 lines
540 B
Smarty
Raw Normal View History

2025-01-24 16:18:47 +01:00
apiVersion: nplus.cloud/v1beta1
kind: Application
metadata:
{{- if .this.utils.includeNamespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
name: {{ .component.fullName }}
labels:
{{- include "nplus.instanceLabels" . | nindent 4 }}
annotations:
{{- include "nplus.annotations" . | nindent 4 }}
argocd.argoproj.io/sync-wave: "1"
spec:
docAreas:
{{- toYaml .Values.docAreas | nindent 4 }}
run:
{{- toYaml .Values.run | nindent 4 }}
selector:
{{- include "nplus.selectorLabels" . | nindent 4 }}