-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from kloia/adjust-aws-sso
adjust aws sso values yaml file for passing dynamic values, adding ss…
- Loading branch information
Showing
3 changed files
with
63 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,14 +203,6 @@ variable "argo_workflow_extra_args" { | |
type = list(any) | ||
default = [] | ||
} | ||
|
||
variable "argo_workflow_target_revision" { | ||
description = "value of the targetRevision field of argo workflow" | ||
default = "0.36.1" | ||
} | ||
|
||
|
||
|
||
# karpenter | ||
|
||
variable "deploy_karpenter" { | ||
|
@@ -330,46 +322,26 @@ variable "karpenter_node_template_throughput" { | |
} | ||
|
||
variable "enable_sso" { | ||
default = true | ||
default = false | ||
description = "Creation control logic of AWS SSO integration at ArgoCD" | ||
} | ||
|
||
variable "sso_ca_data_network_account" { | ||
default = "" | ||
description = "Value of the CA data for AWS SSO integration at ArgoCD" | ||
} | ||
|
||
variable "policy_csv" { | ||
default = <<-EOT | ||
policy.csv: | | ||
g, PlatformTestAccountArgoCD, role:admin | ||
g, [email protected], role:admin | ||
g, guest, role:readonly | ||
EOT | ||
description = "policy csv content for argocd rbac" | ||
} | ||
|
||
|
||
variable "saml_dex_config" { | ||
description = "Dex configuration for AWS SSO" | ||
default = <<-EOT | ||
dex.config: | | ||
logger: | ||
level: debug | ||
format: json | ||
connectors: | ||
- type: saml | ||
id: aws | ||
name: "AWS IAM Identity Center" | ||
config: | ||
ssoURL: <your-single-sign-on-url> | ||
caData: <your-ca-data> | ||
redirectURI: https://<your-base-url>/api/dex/callback | ||
entityIssuer: https://<your-base-url>/api/dex/callback | ||
usernameAttr: email | ||
emailAttr: email | ||
groupsAttr: groups | ||
EOT | ||
variable "sso_url_network_account" { | ||
default = "" | ||
description = "Value of the Single Sign-On URL for AWS SSO." | ||
} | ||
|
||
variable "sso_callback_url" { | ||
default = "" | ||
description = "value of the callback url for AWS SSO integration at ArgoCD" | ||
} | ||
|
||
variable "gitops_url" { | ||
description = "url of the argocd" | ||
default = "https://gitops.platform.mycompany.com" | ||
} | ||
|