forked from antonputra/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathargocd-image-updater.yaml
216 lines (188 loc) · 6.59 KB
/
argocd-image-updater.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# -- Replica count for the deployment. It is not advised to run more than one replica.
replicaCount: 1
image:
# -- Default image repository
repository: quay.io/argoprojlabs/argocd-image-updater
# -- Default image pull policy
pullPolicy: Always
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
# -- The deployment strategy to use to replace existing pods with new ones
updateStrategy:
type: Recreate
# -- ImagePullSecrets for the image updater deployment
imagePullSecrets: []
# -- Global name (argocd-image-updater.name in _helpers.tpl) override
nameOverride: ""
# -- Global fullname (argocd-image-updater.fullname in _helpers.tpl) override
fullnameOverride: ""
# -- Extra arguments for argocd-image-updater not defined in `config.argocd`.
# If a flag contains both key and value, they need to be split to a new entry
extraArgs: []
# - --disable-kubernetes
# - --dry-run
# - --health-port
# - 8080
# - --interval
# - 2m
# - --kubeconfig
# - ~/.kube/config
# - --match-application-name
# - staging-*
# - --max-concurrency
# - 5
# - --once
# - --registries-conf-path
# - /app/config/registries.conf
# -- Extra environment variables for argocd-image-updater
extraEnv: []
# - name: AWS_REGION
# value: "us-west-1"
# -- Init containers to add to the image updater pod
initContainers: []
# - name: download-tools
# image: alpine:3.8
# command: [sh, -c]
# args:
# - wget -qO- https://get.helm.sh/helm-v2.16.1-linux-amd64.tar.gz | tar -xvzf - &&
# mv linux-amd64/helm /custom-tools/
# volumeMounts:
# - mountPath: /custom-tools
# name: custom-tools
# -- Additional volumeMounts to the image updater main container
volumeMounts: []
# -- Additional volumes to the image updater pod
volumes: []
## Use init containers to configure custom tooling
## https://argo-cd.readthedocs.io/en/stable/operator-manual/custom_tools/
## When using the volumes & volumeMounts section bellow, please comment out those above.
# - name: custom-tools
# emptyDir: {}
config:
# -- API kind that is used to manage Argo CD applications (`kubernetes` or `argocd`)
applicationsAPIKind: ""
# Described in detail here https://argocd-image-updater.readthedocs.io/en/stable/install/running/#flags
argocd:
# -- Use the gRPC-web protocol to connect to the Argo CD API
grpcWeb: true
# -- Connect to the Argo CD API server at server address
serverAddress: ""
# -- If specified, the certificate of the Argo CD API server is not verified.
insecure: false
# -- If specified, use an unencrypted HTTP connection to the ArgoCD API instead of TLS.
plaintext: false
# -- If specified, the secret with ArgoCD API key will be created.
token: ""
# -- Disable kubernetes events
disableKubeEvents: false
# -- Username to use for Git commits
gitCommitUser: ""
# -- E-Mail address to use for Git commits
gitCommitMail: ""
# -- Changing the Git commit message
gitCommitTemplate: ""
# -- ArgoCD Image Update log level
logLevel: "info"
# -- ArgoCD Image Updater registries list configuration. More information [here](https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/)
registries: []
# - name: Docker Hub
# api_url: https://registry-1.docker.io
# ping: yes
# credentials: secret:foo/bar#creds
# defaultns: library
# - name: Google Container Registry
# api_url: https://gcr.io
# prefix: gcr.io
# ping: no
# credentials: pullsecret:foo/bar
# - name: RedHat Quay
# api_url: https://quay.io
# ping: no
# prefix: quay.io
# credentials: env:REGISTRY_SECRET
# - name: ECR
# api_url: https://123456789.dkr.ecr.eu-west-1.amazonaws.com
# prefix: 123456789.dkr.ecr.eu-west-1.amazonaws.com
# ping: yes
# insecure: no
# credentials: ext:/scripts/auth1.sh
# credsexpire: 10h
# -- ArgoCD Image Updater ssh client parameter configuration.
sshConfig:
{}
# config: |
# Host *
# PubkeyAcceptedAlgorithms +ssh-rsa
# HostkeyAlgorithms +ssh-rsa
# whether to mount authentication scripts, if enabled, the authentication scripts will be mounted on /scripts that can be used to authenticate with registries (ECR)
# refer to https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/#specifying-credentials-for-accessing-container-registries for more info
authScripts:
# -- Whether to mount the defined scripts that can be used to authenticate with a registry, the scripts will be mounted at `/scripts`
enabled: false
# -- Map of key-value pairs where the key consists of the name of the script and the value the contents
scripts: {}
# auth1.sh: |
# #!/bin/sh
# echo "auth script 1 here"
# auth2.sh: |
# #!/bin/sh
# echo "auth script 2 here"
serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Annotations to add to the service account
annotations: {}
# -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# -- Pod Annotations for the deployment
podAnnotations: {}
# -- Pod security context settings for the deployment
podSecurityContext: {}
# fsGroup: 2000
# -- Security context settings for the deployment
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
rbac:
# -- Enable RBAC creation
enabled: true
# -- Pod memory and cpu resource settings for the deployment
resources: {}
# -- Kubernetes nodeSelector settings for the deployment
nodeSelector: {}
# -- Kubernetes toleration settings for the deployment
tolerations: []
# -- Kubernetes affinity settings for the deployment
affinity: {}
# Metrics configuration
metrics:
# -- Deploy metrics service
enabled: false
service:
# -- Metrics service annotations
annotations: {}
# -- Metrics service labels
labels: {}
# -- Metrics service port
servicePort: 8081
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
# -- Prometheus ServiceMonitor selector
selector: {}
# promtheus: kube-prometheus
# -- Prometheus ServiceMonitor namespace
namespace: ""
# -- Prometheus ServiceMonitor labels
additionalLabels: {}