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 {
default_argocd_helm_chart = {
default_argocd_helm_app = {
name = "argo-cd"
chart = "argo-cd"
repository = "https://argoproj.github.io/argo-helm"
version = "3.26.3"
namespace = "argocd-infra"
namespace = "argocd"
timeout = "1200"
create_namespace = true
values = local.default_argocd_helm_values
......@@ -42,7 +42,7 @@ locals {
}
argocd_helm_app = merge(
local.default_argocd_helm_chart,
local.default_argocd_helm_app,
var.argocd_helm_chart
)
default_argocd_helm_values = [templatefile("${path.module}/argocd-values.yaml", {})]
......
......@@ -23,6 +23,9 @@ provider "aws" {
}
provider "kubernetes" {
experiments {
manifest_resource = true
}
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) : ""
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