Skip to content

Conversation

saeedfazal
Copy link
Contributor

@saeedfazal saeedfazal commented Jan 4, 2022

  • Fixed cluster names for EKS and GKE management clusters
  • Replace underscores with hyphens in cluster name

closes #398

@saeedfazal saeedfazal added the bug Something isn't working label Jan 4, 2022
@saeedfazal saeedfazal self-assigned this Jan 4, 2022
@@ -88,7 +88,7 @@ function setup {
--set "nginx-ingress-controller.service.nodePorts.http=${UI_NODEPORT}" \
--set "config.capi.repositoryURL=${GIT_REPOSITORY_URL}" \
--set "config.capi.repositoryPath=./management" \
--set "config.cluster.name=$(kubectl config current-context)", \
--set "config.cluster.name=$(kubectl config get-clusters | grep $MANAGEMENT_CLUSTER_NAME | sed s/_/-/g)", \
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be the same as whatever gitops install uses to generate secret names etc... I forget what breaks if the gitops cluster name and EE cluster names differ. but it might be better to rename the context using this trick before running gitops install and keep current-context instead.

That said if this seems to work then all good!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed renaming the context before running gitops install.

@saeedfazal saeedfazal force-pushed the fix_nightly_failling_ui_app_add_test branch from f586383 to 3ed6af6 Compare January 5, 2022 09:54
@saeedfazal saeedfazal force-pushed the fix_nightly_failling_ui_app_add_test branch from 3ed6af6 to 080a1ad Compare January 5, 2022 10:43
@saeedfazal saeedfazal merged commit 0675cae into main Jan 5, 2022
@saeedfazal saeedfazal deleted the fix_nightly_failling_ui_app_add_test branch January 5, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add application from WGE UI failed to reconcile on EKS and GKE management clusters
2 participants