summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2020-08-05 14:29:36 +0200
committerjannfis <jann@mistrust.net>2020-08-05 14:29:36 +0200
commitddc7a9dfc07bd764aa8e19b7da2c1d2962b2c7e2 (patch)
tree802486a731691d6add5cdd66d0110bc8a4b9262d
parentf6109c164b7e902218e5bdcfc0cd355b28029854 (diff)
Mount registries.conf to /app/config/registries.conf in pod
-rw-r--r--manifests/base/deployment/argocd-image-updater-deployment.yaml10
-rw-r--r--manifests/install.yaml10
2 files changed, 20 insertions, 0 deletions
diff --git a/manifests/base/deployment/argocd-image-updater-deployment.yaml b/manifests/base/deployment/argocd-image-updater-deployment.yaml
index e019857..fb7c3f6 100644
--- a/manifests/base/deployment/argocd-image-updater-deployment.yaml
+++ b/manifests/base/deployment/argocd-image-updater-deployment.yaml
@@ -52,4 +52,14 @@ spec:
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
+ volumeMounts:
+ - name: registries-conf
+ mountPath: /app/config
serviceAccountName: argocd-image-updater
+ volumes:
+ - name: registries-conf
+ configMap:
+ name: argocd-image-updater-config
+ items:
+ - key: registries.conf
+ path: registries.conf \ No newline at end of file
diff --git a/manifests/install.yaml b/manifests/install.yaml
index 67e3c07..d35c7d6 100644
--- a/manifests/install.yaml
+++ b/manifests/install.yaml
@@ -77,4 +77,14 @@ spec:
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
+ volumeMounts:
+ - mountPath: /app/config
+ name: registries-conf
serviceAccountName: argocd-image-updater
+ volumes:
+ - configMap:
+ items:
+ - key: registries.conf
+ path: registries.conf
+ name: argocd-image-updater-config
+ name: registries-conf