Skip to content

Commit

Permalink
Merge pull request #76 from openinfradev/fix_argocd_login
Browse files Browse the repository at this point in the history
decapod/argocd: fix getting master node ip address
  • Loading branch information
zugwan authored May 7, 2021
2 parents 867dcbe + 27476e4 commit 558a877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/decapod/tasks/argocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

- name: get one of the master node IP address
shell: >-
kubectl get no --selector=node-role.kubernetes.io/master -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}' | head -1
kubectl get no --selector=node-role.kubernetes.io/master -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}' | awk '{print $1}'
register: k8s_master_node_ip_addr
become: false

Expand Down

0 comments on commit 558a877

Please sign in to comment.