20 lines
540 B
Smarty
20 lines
540 B
Smarty
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:
|
|
download:
|
|
{{- toYaml .Values.download | nindent 4 }}
|
|
run:
|
|
{{- toYaml .Values.run | nindent 4 }}
|
|
selector:
|
|
{{- include "nplus.selectorLabels" . | nindent 4 }}
|