You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/gitops-runtime/README.md
+13-9
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,11 @@ The utility will output 4 files into the folder:
103
103
3.`values-images-no-tags.yaml` - a values file with all image values with the private registry **excluding tags**. If provided through --values to helm install/upgrade command - it will override all images to use the private registry.
104
104
4.`values-images-with-tags.yaml` - The same as 3 but with tags **included**.
105
105
106
+
For usage with external ArgoCD run the utility with `EXTERNAL_ARGOCD` environment variable set to `true`.
107
+
```
108
+
docker run -e EXTERNAL_ARGOCD=true -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.0.0 <local_registry>
109
+
```
110
+
106
111
## Openshift
107
112
108
113
```yaml
@@ -166,14 +171,14 @@ sealed-secrets:
166
171
| app-proxy.image-enrichment.serviceAccount.name | string | `"codefresh-image-enrichment-sa"` | Name of the service account to create or the name of the existing one to use |
Copy file name to clipboardExpand all lines: charts/gitops-runtime/README.md.gotmpl
+7
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,13 @@ The utility will output 4 files into the folder:
104
104
3. `values-images-no-tags.yaml` - a values file with all image values with the private registry **excluding tags**. If provided through --values to helm install/upgrade command - it will override all images to use the private registry.
105
105
4. `values-images-with-tags.yaml` - The same as 3 but with tags **included**.
106
106
107
+
108
+
For usage with external ArgoCD run the utility with `EXTERNAL_ARGOCD` environment variable set to `true`.
{{- if and (not (index .Values "argo-cd" "enabled")) }}
34
-
34
+
35
35
{{- if and (eq (index .Values "global" "external-argo-cd" "auth" "type") "token") }}
36
-
36
+
37
37
{{- if not (index .Values "global" "external-argo-cd" "auth" "token") }}
38
38
{{- $_ := set $gitopsOperatorContext.Values.env "ARGO_CD_TOKEN_SECRET_NAME" (required ".Values.global.external-argo-cd.auth.type is set to 'token' therefore .Values.global.external-argo-cd.auth.tokenSecretKeyRef.name is required" (index .Values "global" "external-argo-cd" "auth" "tokenSecretKeyRef" "name")) }}
39
39
{{- $_ := set $gitopsOperatorContext.Values.env "ARGO_CD_TOKEN_SECRET_KEY" (required ".Values.global.external-argo-cd.auth.type is set to 'token' therefore .Values.global.external-argo-cd.auth.tokenSecretKeyRef.key is required" (index .Values "global" "external-argo-cd" "auth" "tokenSecretKeyRef" "key")) }}
@@ -71,7 +71,7 @@
71
71
{{- if and (gt (int $gitopsOperatorContext.Values.replicaCount) 1 ) }}
72
72
{{- $_ := set $gitopsOperatorContext.Values.env "LEADER_ELECT" "true" }}
73
73
{{- else }}
74
-
{{- $_ := set $gitopsOperatorContext.Values.env "LEADER_ELECT" "false" }}
74
+
{{- $_ := set $gitopsOperatorContext.Values.env "LEADER_ELECT" "false" }}
75
75
{{- end }}
76
76
77
77
{{- include "gitops-operator.resources" $gitopsOperatorContext}}
0 commit comments