Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit ee547265 authored by Kevin Coleman's avatar Kevin Coleman
Browse files

Adding experimental decorator

parent 7e22bb56
No related branches found
No related tags found
No related merge requests found
locals { locals {
default_argocd_helm_chart = { default_argocd_helm_app = {
name = "argo-cd" name = "argo-cd"
chart = "argo-cd" chart = "argo-cd"
repository = "https://argoproj.github.io/argo-helm" repository = "https://argoproj.github.io/argo-helm"
version = "3.26.3" version = "3.26.3"
namespace = "argocd-infra" namespace = "argocd"
timeout = "1200" timeout = "1200"
create_namespace = true create_namespace = true
values = local.default_argocd_helm_values values = local.default_argocd_helm_values
...@@ -42,7 +42,7 @@ locals { ...@@ -42,7 +42,7 @@ locals {
} }
argocd_helm_app = merge( argocd_helm_app = merge(
local.default_argocd_helm_chart, local.default_argocd_helm_app,
var.argocd_helm_chart var.argocd_helm_chart
) )
default_argocd_helm_values = [templatefile("${path.module}/argocd-values.yaml", {})] default_argocd_helm_values = [templatefile("${path.module}/argocd-values.yaml", {})]
......
...@@ -23,6 +23,9 @@ provider "aws" { ...@@ -23,6 +23,9 @@ provider "aws" {
} }
provider "kubernetes" { provider "kubernetes" {
experiments {
manifest_resource = true
}
host = var.create_eks ? data.aws_eks_cluster.cluster.0.endpoint : "" host = var.create_eks ? data.aws_eks_cluster.cluster.0.endpoint : ""
cluster_ca_certificate = var.create_eks ? base64decode(data.aws_eks_cluster.cluster.0.certificate_authority.0.data) : "" cluster_ca_certificate = var.create_eks ? base64decode(data.aws_eks_cluster.cluster.0.certificate_authority.0.data) : ""
token = var.create_eks ? data.aws_eks_cluster_auth.cluster.0.token : "" token = var.create_eks ? data.aws_eks_cluster_auth.cluster.0.token : ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment