-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
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.
Looks good to me with one minor question
@@ -0,0 +1,184 @@ | |||
terraform { |
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.
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
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.
I think Argo is critical enough that it should be top level example
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.
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 |
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.
Is this zone
meant to be dev
?
|
||
workload_application = { | ||
path = "envs/dev" | ||
repo_url = "[email protected]:aws-samples/ssp-eks-workloads.git" |
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.
Change this to https
url to avoid SSH issue. We can document how users can use SSH by passing the SSH key
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.
Love it!
7c651b5
to
1163c30
Compare
9e74752
to
cf20cc8
Compare
@@ -79,6 +79,6 @@ variable "http_tokens" { | |||
|
|||
variable "http_put_response_hop_limit" { | |||
type = number | |||
default = 1 | |||
default = 2 |
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.
1ee70c6
to
3bffe00
Compare
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.
LGTM!
0e26c4a
to
df84b31
Compare
1234958
to
6ba5a51
Compare
c05ea2a
to
3f009d3
Compare
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.