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

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

Adding global values

parent 399ea677
No related branches found
No related tags found
No related merge requests found
......@@ -48,42 +48,8 @@ locals {
# Global Values for ArgoCD App of Apps.
global_values = {
region: data.aws_region.current.id
account: data.aws_caller_identity.current.account_id
clusterName: var.eks_cluster_name
agones: {
enable: true
}
awsForFluentBit: {
enable: true
}
awsLoadBalancerController: {
enable: true
}
calico: {
enable: true
}
certManager: {
enable: true
}
clusterAutoscaler: {
enable: true
}
externalDns: {
enable: true
}
metricsServer: {
enable: true
}
nginx: {
enable: true
}
prometheus: {
enable: true
}
traefik: {
enable: true
}
}
region: data.aws_region.current.id
account: data.aws_caller_identity.current.account_id
clusterName: var.eks_cluster_name
}
}
......@@ -134,35 +134,3 @@ resource "kubernetes_manifest" "argocd_application" {
}
depends_on = [helm_release.argocd]
}
// resource "kubectl_manifest" "namespace" {
// yaml_body = yamlencode({
// apiVersion: "argoproj.io/v1alpha1"
// kind: "Application"
// metadata: {
// name: each.key
// namespace: each.value.namespace
// }
// spec: {
// destination: {
// namespace: each.value.namespace
// server: each.value.destination
// }
// project: each.value.project
// source: {
// helm: {
// values: yamlencode(each.value.values)
// }
// path: each.value.repo_path
// repoURL: each.value.repo_url
// targetRevision: each.value.target_revision
// }
// syncPolicy: {
// automated: {
// prune: true
// }
// }
// }
// })
// depends_on = [helm_release.argocd]
// }
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