46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
{{- if and .Values.clusterConfig.argo.enabled .Values.temporal.workerController }}
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: temporal-worker-controller
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
destination:
|
|
namespace: temporal
|
|
server: 'https://kubernetes.default.svc'
|
|
sources:
|
|
# CRDs (WorkerDeployment, Connection, WorkerResourceTemplate).
|
|
- repoURL: 'docker.io/temporalio'
|
|
chart: temporal-worker-controller-crds
|
|
targetRevision: '0.26.0'
|
|
- repoURL: 'docker.io/temporalio'
|
|
chart: temporal-worker-controller
|
|
targetRevision: '0.26.0'
|
|
helm:
|
|
values: |
|
|
certmanager:
|
|
install: false
|
|
enabled: true
|
|
project: sys
|
|
syncPolicy:
|
|
managedNamespaceMetadata:
|
|
labels:
|
|
component: sys
|
|
syncOptions:
|
|
- ServerSideApply=true
|
|
- ApplyOutOfSyncOnly=true
|
|
{{- if .Values.temporal.autosync }}
|
|
automated:
|
|
prune: true
|
|
{{- end }}
|
|
ignoreDifferences:
|
|
- group: admissionregistration.k8s.io
|
|
kind: ValidatingWebhookConfiguration
|
|
jqPathExpressions:
|
|
- '.webhooks[]?.clientConfig.caBundle'
|
|
{{- end }}
|