-
Notifications
You must be signed in to change notification settings - Fork 835
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
Conversation
@@ -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 \ |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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
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.
|
Have removed the jenkins user and password - the changes are now incorporated in #517 so closing this PR in favour of that one |
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.