Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade argocd and add detail for minikube #506

Closed
wants to merge 2 commits into from

Conversation

ryandawsonuk
Copy link
Contributor

@ryandawsonuk ryandawsonuk commented Apr 11, 2019

Went through this on minikube. I took latest ArgoCD version so have included changes to upgrade to latest ArgoCD. That includes changes to their labels (argoproj/argo-cd#1168) and I also had to change the setting autoprune as that isn't allowed without autosycn in the new version. Otherwise the changes are extra notes.

@@ -20,7 +20,9 @@ helm install --kube-context="${KUBE_CONTEXT}" stable/jenkins \
--name jenkins \
--namespace jenkins \
--set rbac.install=true \
--version $JENKINS_CHART_VERSION
--version $JENKINS_CHART_VERSION \
--set Master.AdminUser=$JENKINS_USER_NAME \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just to set jenkins initial user out of the box

@@ -11,5 +11,5 @@ source ${STARTUP_DIR}/../settings.sh
KUBECTL="kubectl --context=${KUBE_CONTEXT}"

NAMESPACE_NAME=argocd
${KUBECTL} logs -f $(kubectl --context="${KUBE_CONTEXT}" get pods -n ${NAMESPACE_NAME} -l app=argocd-server -o jsonpath='{.items[0].metadata.name}') -n ${NAMESPACE_NAME}
${KUBECTL} logs -f $(kubectl --context="${KUBE_CONTEXT}" get pods -n ${NAMESPACE_NAME} -l app.kubernetes.io/name=argocd-server -o jsonpath='{.items[0].metadata.name}') -n ${NAMESPACE_NAME}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app.kubernetes.io/name is the new standard label format so argocd have switched to it

@ryandawsonuk ryandawsonuk changed the title argocd labels have changed and add detail for minikube upgrade argocd and add detail for minikube Apr 11, 2019
@gsunner
Copy link
Contributor

gsunner commented Apr 17, 2019

In 'examples/cicd-argocd/settings.sh.example' can we keep the jenkins credentials as set by the user and not use hardcoded ones incase they get copied by mistake.

JENKINS_USER_NAME=<jenkins user id>
JENKINS_USER_PASSWORD=<jenkins password>

@ryandawsonuk
Copy link
Contributor Author

Have removed the jenkins user and password - the changes are now incorporated in #517 so closing this PR in favour of that one

@ryandawsonuk ryandawsonuk deleted the 505-update-cicd-demo-notes branch April 18, 2019 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants