Skip to content

Commit

Permalink
allow change argocd url (kubernetes-sigs#10176)
Browse files Browse the repository at this point in the history
  • Loading branch information
liupeng0518 authored and maciej-markowski committed Jun 23, 2023
1 parent f21b2d5 commit 9661dde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions roles/kubernetes-apps/argocd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ argocd_enabled: false
argocd_version: v2.6.7
argocd_namespace: argocd
# argocd_admin_password:
argocd_install_url: "https://raw.githubusercontent.com/argoproj/argo-cd/{{ argocd_version }}/manifests/install.yaml"
2 changes: 1 addition & 1 deletion roles/kubernetes-apps/argocd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- name: install
file: argocd-install.yml
namespace: "{{ argocd_namespace }}"
url: "https://raw.githubusercontent.com/argoproj/argo-cd/{{ argocd_version }}/manifests/install.yaml"
url: "{{ argocd_install_url }}"
when:
- "inventory_hostname == groups['kube_control_plane'][0]"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: {{argocd_namespace}}
name: {{ argocd_namespace }}
labels:
app: argocd

0 comments on commit 9661dde

Please sign in to comment.