-
Bug
-
Resolution: Done
-
Normal
-
None
-
1.8.0
-
False
-
None
-
False
-
-
Description of problem:
Webhooks are not created after performing DAY1 operation and in argocd ui cicd app is not getting synced for gitops 1.8.0 on OCP 4.11 on P.
Prerequisites (if any, like setup, operators/versions):
The operator is installed with latest version 1.8.0 and have to setup all the requirements for KAM validation.
Steps to Reproduce
- kam bootstrap \
--service-repo-url $SERVICE_REPO_URL \
--gitops-repo-url $GITOPS_REPO_URL \
--image-repo $IMAGE_REPO \
--dockercfgjson $DOCKERCONFIGJSON_PATH \
--git-host-access-token $GIT_ACCESS_TOKEN \
--output bootstrapresources \
--overwrite \
--private-repo-driver gitlab - cd bootstrapresource
$ git init .
$ git add .
$ git commit -m 'Initial commit.'
$ git remote add origin $GITOPS_REPO_URL
$ git branch -M main
$ git push -u origin main
$ api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath=" {.items[*]['spec.host']}")
$ password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
$ argocd login $api_server --username admin --password $password --insecure
$ argocd repo add $GITOPS_REPO_URL --username <username> --password $GIT_ACCESS_TOKEN - oc apply -k config/argocd/
- oc apply -f ../secrets
- kam webhook create --git-host-access-token $GIT_ACCESS_TOKEN --env-name dev --service-name taxi
Actual results:
✗ unable to create webhook: failed to get event listener URL: routes.route.openshift.io "gitops-webhook-event-listener-route" not found
Expected results:
Webhook have to be created and in cicd app everything have to be synced.
Reproducibility (Always/Intermittent/Only Once):
Build Details:
Additional info (Such as Logs, Screenshots, etc):