File tree Expand file tree Collapse file tree 3 files changed +2
-28
lines changed
Expand file tree Collapse file tree 3 files changed +2
-28
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,7 @@ resource "azurerm_resource_group" "rg" {
55
66data "azurerm_client_config" "current" {}
77
8- data "http" "myip" {
9- url = " https://ipv4.icanhazip.com/"
10- }
11-
128locals {
13- my_ip = " ${ chomp (data. http . myip . response_body )} /32"
14- elia-ip = " 185.178.95.235/32"
159 mariadb_internal_ip = " mariadb-service.mariadb.svc.cluster.local"
1610 postgres_internal_ip = " postgres-service.postgres.svc.cluster.local"
1711}
@@ -47,11 +41,7 @@ module "argo-cd" {
4741 module . aks
4842 ]
4943
50- source = " ./modules/argocd/"
51- clientId = data. azurerm_key_vault_secret . argocd_client_id . value
52- clientSecret = data. azurerm_key_vault_secret . argocd_client_secret . value
53- tenant = data. azurerm_client_config . current . tenant_id
54-
44+ source = " ./modules/argocd/"
5545 applications = [
5646 file (" ./argocd-applications.yaml" )
5747 ]
Original file line number Diff line number Diff line change @@ -18,11 +18,7 @@ resource "helm_release" "argo_cd" {
1818 upgrade_install = true
1919
2020 values = [
21- templatefile (" ${ path . module } /values/argo_cd.tftpl" , {
22- clientId = var.clientId
23- clientSecret = var.clientSecret
24- tenant = var.tenant
25- })
21+ templatefile (" ${ path . module } /values/argo_cd.tftpl" , {})
2622 ]
2723}
2824
Original file line number Diff line number Diff line change @@ -7,15 +7,3 @@ variable "applications" {
77 nullable = true
88 description = " List of applications to deploy, see https://github.com/argoproj/argo-helm/tree/main/charts/argocd-apps"
99}
10-
11- variable "clientId" {
12- type = string
13- }
14-
15- variable "clientSecret" {
16- type = string
17- }
18-
19- variable "tenant" {
20- type = string
21- }
You can’t perform that action at this time.
0 commit comments