-
Notifications
You must be signed in to change notification settings - Fork 0
/
argocd-application.yaml
77 lines (67 loc) · 2.85 KB
/
argocd-application.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: steampipe-powerpipe
namespace: argocd
# finalizers:
# - resources-finalizer.argocd.argoproj.io
labels:
name: steampipe-powerpipe
spec:
project: default
source:
repoURL: https://oguzhan-yilmaz.github.io/steampipe-powerpipe-kubernetes/
targetRevision: '*.*.*'
chart: steampipe-powerpipe-kubernetes
helm:
releaseName: steampipe-powerpipe
# # Values file as block file. This takes precedence over values
# valuesObject:
# ingress:
# enabled: true
# path: /
# hosts:
# - mydomain.example.com
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# labels: {}
# tls:
# - secretName: mydomain-tls
# hosts:
# - mydomain.example.com
# # Values file as block file. Prefer to use valuesObject if possible (see below)
# values: |
# ingress:
# enabled: true
# path: /
# hosts:
# - mydomain.example.com
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# labels: {}
# tls:
# - secretName: mydomain-tls
# hosts:
# - mydomain.example.com
# Destination cluster and namespace to deploy the application
destination:
name: in-cluster
namespace: turbot
# Extra information to show in the Argo CD Application details tab
info:
- name: 'Github Repo'
value: 'https://github.com/oguzhan-yilmaz/steampipe-powerpipe-kubernetes'
# Sync policy
syncPolicy:
automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field.
prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ).
selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ).
syncOptions: # Sync options which modifies sync behavior
- Validate=false # disables resource validation (equivalent to 'kubectl apply --validate=false') ( true by default ).
- CreateNamespace=true # Namespace Auto-Creation ensures that namespace specified as the application destination exists in the destination cluster.
- PrunePropagationPolicy=foreground # Supported policies are background, foreground and orphan.
- PruneLast=true # Allow the ability for resource pruning to happen as a final, implicit wave of a sync operation
- ApplyOutOfSyncOnly=true # Only sync out-of-sync resources, rather than applying every object in the application
revisionHistoryLimit: 5