Skip to content

Commit afb9284

Browse files
authored
docs(argo-cd): update NOTES.txt for conditional rootpath (#3407)
1 parent a3779e5 commit afb9284

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

charts/argo-cd/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: v3.0.12
33
kubeVersion: ">=1.25.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 8.2.4
6+
version: 8.2.5
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -26,5 +26,5 @@ annotations:
2626
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
2727
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2828
artifacthub.io/changes: |
29-
- kind: fixed
30-
description: Fix inheritance of 'global.logging' values for the commit server component.
29+
- kind: added
30+
description: Add condition for rootpath in NOTES.txt

charts/argo-cd/templates/NOTES.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ DEPRECATED option dex.logFormat - Use `configs.params."dexserver.log.format"`
1212
{{- end }}
1313
In order to access the server UI you have the following options:
1414

15+
{{ $rootpath := default "" (index .Values "configs" "params" "server.rootpath") -}}
1516
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ include "argo-cd.namespace" . }} 8080:443
16-
17+
{{ if $rootpath }}
18+
and then open the browser on http://localhost:8080/{{ $rootpath }} and accept the certificate
19+
{{ else }}
1720
and then open the browser on http://localhost:8080 and accept the certificate
18-
21+
{{ end }}
1922
2. enable ingress in the values file `server.ingress.enabled` and either
2023
- Add the annotation for ssl passthrough: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#option-1-ssl-passthrough
2124
- Set the `configs.params."server.insecure"` in the values file and terminate SSL at your ingress: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#option-2-multiple-ingress-objects-and-hosts

0 commit comments

Comments
 (0)