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

Remove hardcoded namespace values in argocd #283

Merged
merged 4 commits into from
Feb 23, 2022

Conversation

naris-silpakit
Copy link
Contributor

What does this PR do?

Removes hardcoded namespace values in the argocd kubernetes addon module. Those entries now reference the argocd helm config.

Motivation

Addressing: #236

Thanks sarasensible for reporting this!

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I have added a new example under examples to support my PR
  • Yes, I have created another PR for add-ons under add-ons repo (if applicable)
  • Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

Testing notes:

  • created test directory and filled main.tf file with vpc, eks cluster with argocd addon enabled
  • ran terraform apply -auto-approve and checked that deployment completes
  • verified login page to argocd management console loaded with kubectl port-forwarding: kubectl port-forward svc/argo-cd-argocd-server -n argocd 8080:443
  • added non-default argocd namespace to kubernetes addon module and reapplied template
  argocd_helm_config = {
    namespace = "argocd-test"
  }
  • verified new namespace and that argocd login page loads with kubectl port-fowarding using new namespace

Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this @naris-silpakit 👍🏼

Copy link
Contributor

@kcoleman731 kcoleman731 left a comment

Choose a reason for hiding this comment

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

one comment for you.

Naris Silpakit added 2 commits February 23, 2022 11:37
…s-samples/aws-eks-accelerator-for-terraform into fix/remove-hardcoded-namespace-argocd
@askulkarni2 askulkarni2 merged commit 73f4555 into main Feb 23, 2022
@askulkarni2 askulkarni2 deleted the fix/remove-hardcoded-namespace-argocd branch February 23, 2022 19:52
@naris-silpakit naris-silpakit restored the fix/remove-hardcoded-namespace-argocd branch February 23, 2022 21:18
alidonmez pushed a commit to alidonmez/terraform-aws-eks-blueprints-1 that referenced this pull request Mar 25, 2023
Instructions to use terraform to provision lab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants