-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* saving work * crosspalne v5 add on an upbound-aws-provider families working version * kubernetes provider working * updating destroy script * irsa working * adding environmentconfig for irsa * fixing environmentconfig * fixing environmentconfig * adding helm provider * aws_provider, role and readme update * argocd version upgrade * cleanup * updating helm chart
- Loading branch information
Showing
24 changed files
with
627 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
################################################################################ | ||
# Crossplane | ||
################################################################################ | ||
|
||
module "crossplane" { | ||
source = "aws-ia/eks-blueprints-addon/aws" | ||
version = "1.1.0" | ||
|
||
create = var.enable_crossplane | ||
|
||
# https://github.com/crossplane/crossplane/tree/master/cluster/charts/crossplane | ||
name = try(var.crossplane.name, "crossplane") | ||
description = try(var.crossplane.description, "A Helm chart to deploy crossplane project") | ||
namespace = try(var.crossplane.namespace, "crossplane-system") | ||
create_namespace = try(var.crossplane.create_namespace, true) | ||
chart = try(var.crossplane.chart, "crossplane") | ||
chart_version = try(var.crossplane.chart_version, "1.13.2") | ||
repository = try(var.crossplane.repository, "https://charts.crossplane.io/stable/") | ||
values = try(var.crossplane.values, []) | ||
|
||
timeout = try(var.crossplane.timeout, null) | ||
repository_key_file = try(var.crossplane.repository_key_file, null) | ||
repository_cert_file = try(var.crossplane.repository_cert_file, null) | ||
repository_ca_file = try(var.crossplane.repository_ca_file, null) | ||
repository_username = try(var.crossplane.repository_username, null) | ||
repository_password = try(var.crossplane.repository_password, null) | ||
devel = try(var.crossplane.devel, null) | ||
verify = try(var.crossplane.verify, null) | ||
keyring = try(var.crossplane.keyring, null) | ||
disable_webhooks = try(var.crossplane.disable_webhooks, null) | ||
reuse_values = try(var.crossplane.reuse_values, null) | ||
reset_values = try(var.crossplane.reset_values, null) | ||
force_update = try(var.crossplane.force_update, null) | ||
recreate_pods = try(var.crossplane.recreate_pods, null) | ||
cleanup_on_fail = try(var.crossplane.cleanup_on_fail, null) | ||
max_history = try(var.crossplane.max_history, null) | ||
atomic = try(var.crossplane.atomic, null) | ||
skip_crds = try(var.crossplane.skip_crds, null) | ||
render_subchart_notes = try(var.crossplane.render_subchart_notes, null) | ||
disable_openapi_validation = try(var.crossplane.disable_openapi_validation, null) | ||
wait = try(var.crossplane.wait, false) | ||
wait_for_jobs = try(var.crossplane.wait_for_jobs, null) | ||
dependency_update = try(var.crossplane.dependency_update, null) | ||
replace = try(var.crossplane.replace, null) | ||
lint = try(var.crossplane.lint, null) | ||
|
||
postrender = try(var.crossplane.postrender, []) | ||
set = try(var.crossplane.set, []) | ||
set_sensitive = try(var.crossplane.set_sensitive, []) | ||
|
||
tags = var.tags | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
variable "tags" { | ||
description = "A map of tags to add to all resources" | ||
type = map(string) | ||
default = {} | ||
} | ||
|
||
################################################################################ | ||
# Crossplane | ||
################################################################################ | ||
|
||
variable "enable_crossplane" { | ||
description = "Enable Crossplane Kubernetes add-on" | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "crossplane" { | ||
description = "Crossplane add-on configuration values" | ||
type = any | ||
default = {} | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: apiextensions.crossplane.io/v1alpha1 | ||
kind: EnvironmentConfig | ||
metadata: | ||
name: cluster | ||
data: | ||
awsAccountID: "${awsAccountID}" | ||
eksOIDC: ${eksOIDC} | ||
vpcID: ${vpcID} |
Oops, something went wrong.