Commit ffbf8a03 authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

kubectl

parent 2295a22e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -65,10 +65,10 @@ deploy_ocf_staging:
#    - sudo mv kubectl /usr/local/bin
    - kubectl version --output=yaml
    - echo "### setting kubeconfig###"
    - kubectl cluster-info
    - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info
#    - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig
#    - kubectl get nodes --kubeconfig ~/cluster.kubeconfig
#    - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working
#    - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working
#    - echo "### install yq###"
#    - sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
#    - sudo chmod a+x /usr/local/bin/yq
@@ -133,10 +133,10 @@ deploy_ocf_dev:
#    - sudo mv kubectl /usr/local/bin
    - kubectl version --output=yaml
    - echo "### setting kubeconfig###"
    - kubectl cluster-info
    - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info
#    - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig
#    - kubectl get nodes --kubeconfig ~/cluster.kubeconfig
#    - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working
#    - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working
#    - echo "### install yq###"
#    - sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
#    - sudo chmod a+x /usr/local/bin/yq
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ deploy_ocf_prod:
#    - echo "### setting kubeconfig###"
#    - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig
#    - kubectl get nodes --kubeconfig ~/cluster.kubeconfig
#    - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working
#    - kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working
#    - echo "### install yq###"
#    - sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
#    - sudo chmod a+x /usr/local/bin/yq