All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.deployment.argocd.spark-operator.yaml.vm Maven / Gradle / Ivy

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: spark-operator
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  destination:
    namespace: argocd
    server: {{ .Values.spec.destination.server }}
  project: default
  source:
    path: ${projectName}-deploy/src/main/resources/apps/spark-operator
    repoURL: {{ .Values.spec.repo }}
    targetRevision: {{ .Values.spec.targetRevision }}
    {{ if .Values.spec.helm.valueFiles }}
    helm:
      valueFiles:
        {{- range .Values.spec.helm.valueFiles }}
        - {{ . }}
        {{- end }}    
    {{ end }}
  syncPolicy:
    {{- with .Values.spec.syncPolicy }}
      {{- if .automated }}
    automated:
        {{- toYaml .automated | nindent 6}}
      {{- else if hasKey . "automated" }}
    automated: {}
      {{- end }}
    {{- end }}
    syncOptions:
      - ServerSideApply=true # https://github.com/argoproj/argo-cd/issues/820#issuecomment-135463693
    {{- if .Values.spec.syncPolicy }}
      {{- with .Values.spec.syncPolicy.syncOptions }}
        {{- toYaml . | nindent 6 }}
      {{- end }}
    {{- end }}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy