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

Adding ArgoCD example #191

Merged
merged 6 commits into from
Jan 18, 2022
Merged

Adding ArgoCD example #191

merged 6 commits into from
Jan 18, 2022

Conversation

kcoleman731
Copy link
Contributor

Issue #, if available:

Description of changes:

Adding an ArgoCD example.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vara-bonthu vara-bonthu self-requested a review January 14, 2022 08:31
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.

Looks good to me with one minor question

@@ -0,0 +1,184 @@
terraform {
Copy link
Contributor

@vara-bonthu vara-bonthu Jan 14, 2022

Choose a reason for hiding this comment

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

Should we create a gitops folder under examples and move this example file under that? This will allow us to add other Gitops examples as well here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think Argo is critical enough that it should be top level example

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! Few minor changes needs addressing.

Also, This block needs changing for YuniKorn locals. (tostring("general,spark-k8s-operator"))

  argocd_gitops_config = {
    enable                   = true
    serviceAccount           = local.service_account_name
    operatorPlugins          = tostring("general,spark-k8s-operator")
    serviceType              = local.service_type
    embedAdmissionController = false
  }

locals {
tenant = "aws001" # AWS account name or unique id for tenant
environment = "preprod" # Environment area eg., preprod or prod
zone = "dever" # Environment with in one sub_tenant or business unit
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this zone meant to be dev ?


workload_application = {
path = "envs/dev"
repo_url = "[email protected]:aws-samples/ssp-eks-workloads.git"
Copy link
Contributor

@vara-bonthu vara-bonthu Jan 14, 2022

Choose a reason for hiding this comment

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

Change this to https url to avoid SSH issue. We can document how users can use SSH by passing the SSH key

Copy link
Contributor

@askulkarni2 askulkarni2 left a comment

Choose a reason for hiding this comment

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

Love it!

@kcoleman731 kcoleman731 force-pushed the feature/argocd-example branch from 9e74752 to cf20cc8 Compare January 18, 2022 00:06
@@ -79,6 +79,6 @@ variable "http_tokens" {

variable "http_put_response_hop_limit" {
type = number
default = 1
default = 2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kcoleman731 kcoleman731 force-pushed the feature/argocd-example branch from 1ee70c6 to 3bffe00 Compare January 18, 2022 00:31
Copy link
Contributor

@askulkarni2 askulkarni2 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kcoleman731 kcoleman731 force-pushed the feature/argocd-example branch from 0e26c4a to df84b31 Compare January 18, 2022 17:22
@vara-bonthu vara-bonthu linked an issue Jan 18, 2022 that may be closed by this pull request
@kcoleman731 kcoleman731 force-pushed the feature/argocd-example branch from 1234958 to 6ba5a51 Compare January 18, 2022 17:58
@kcoleman731 kcoleman731 force-pushed the feature/argocd-example branch from c05ea2a to 3f009d3 Compare January 18, 2022 18:21
@kcoleman731 kcoleman731 merged commit dd8a0d5 into main Jan 18, 2022
@vara-bonthu vara-bonthu deleted the feature/argocd-example branch January 18, 2022 20:35
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.

Documentation: Add example for ArgoCD way of managing add-ons
4 participants