File tree Expand file tree Collapse file tree 14 files changed +48
-26
lines changed
templates/mgmt/components/argocd
templates/mgmt/components/argocd
google-github/templates/mgmt/components/argocd
google-gitlab/templates/mgmt/components/argocd
templates/mgmt/components/argocd
templates/mgmt/components/argocd Expand file tree Collapse file tree 14 files changed +48
-26
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace: argocd
55# To upgrade ArgoCD, increment the version here
66# https://github.com/argoproj/argo-cd/tags
77resources :
8- - github.com:kubefirst /manifests.git/argocd/cloud?ref=0 .1.0
8+ - github.com:konstructio /manifests.git/argocd/cloud?ref=v1 .1.0
99 - argocd-ui-ingress.yaml
1010 - externalsecrets.yaml
1111 - argocd-oidc-restart-job.yaml
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ resource "civo_firewall" "kubefirst" {
3838}
3939
4040resource "civo_kubernetes_cluster" "kubefirst" {
41- name = local. cluster_name
42- network_id = civo_network. kubefirst . id
43- firewall_id = civo_firewall. kubefirst . id
44- cluster_type = " talos "
45- write_kubeconfig = true
41+ name = local. cluster_name
42+ network_id = civo_network. kubefirst . id
43+ firewall_id = civo_firewall. kubefirst . id
44+ kubernetes_version = " 1.28.7-k3s1 "
45+ write_kubeconfig = true
4646 pools {
4747 label = local. cluster_name
4848 size = " <NODE_TYPE>"
Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ resource "civo_firewall" "kubefirst" {
99}
1010
1111resource "civo_kubernetes_cluster" "kubefirst" {
12- name = var. cluster_name
13- network_id = civo_network. kubefirst . id
14- firewall_id = civo_firewall. kubefirst . id
15- write_kubeconfig = true
12+ name = var. cluster_name
13+ network_id = civo_network. kubefirst . id
14+ firewall_id = civo_firewall. kubefirst . id
15+ kubernetes_version = " 1.28.7-k3s1"
16+ write_kubeconfig = true
1617 pools {
1718 label = var. cluster_name
1819 size = var. node_type
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace: argocd
55# To upgrade ArgoCD, increment the version here
66# https://github.com/argoproj/argo-cd/tags
77resources :
8- - github.com:kubefirst /manifests.git/argocd/cloud?ref=main
8+ - github.com:konstructio /manifests.git/argocd/cloud?ref=v1.1.0
99 - argocd-ui-ingress.yaml
1010 - externalsecrets.yaml
1111 - argocd-oidc-restart-job.yaml
Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ resource "civo_firewall" "kubefirst" {
4040}
4141
4242resource "civo_kubernetes_cluster" "kubefirst" {
43- name = local. cluster_name
44- network_id = civo_network. kubefirst . id
45- firewall_id = civo_firewall. kubefirst . id
46- cluster_type = " talos "
47- write_kubeconfig = true
43+ name = local. cluster_name
44+ network_id = civo_network. kubefirst . id
45+ firewall_id = civo_firewall. kubefirst . id
46+ kubernetes_version = " 1.28.7-k3s1 "
47+ write_kubeconfig = true
4848 pools {
4949 label = local. cluster_name
5050 size = " <NODE_TYPE>"
Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ resource "civo_firewall" "kubefirst" {
99}
1010
1111resource "civo_kubernetes_cluster" "kubefirst" {
12- name = var. cluster_name
13- network_id = civo_network. kubefirst . id
14- firewall_id = civo_firewall. kubefirst . id
15- write_kubeconfig = true
12+ name = var. cluster_name
13+ network_id = civo_network. kubefirst . id
14+ firewall_id = civo_firewall. kubefirst . id
15+ kubernetes_version = " 1.28.7-k3s1"
16+ write_kubeconfig = true
1617 pools {
1718 label = var. cluster_name
1819 size = var. node_type
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace: argocd
55# To upgrade ArgoCD, increment the version here
66# https://github.com/argoproj/argo-cd/tags
77resources :
8- - github.com:kubefirst /manifests.git/argocd/cloud?ref=main
8+ - github.com:konstructio /manifests.git/argocd/cloud?ref=v1.1.0
99 - argocd-ui-ingress.yaml
1010 - externalsecrets.yaml
1111 - argocd-oidc-restart-job.yaml
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace: argocd
55# To upgrade ArgoCD, increment the version here
66# https://github.com/argoproj/argo-cd/tags
77resources :
8- - github.com:kubefirst /manifests.git/argocd/cloud?ref=main
8+ - github.com:konstructio /manifests.git/argocd/cloud?ref=v1.1.0
99 - argocd-ui-ingress.yaml
1010 - externalsecrets.yaml
1111 - argocd-oidc-restart-job.yaml
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace: argocd
55# To upgrade ArgoCD, increment the version here
66# https://github.com/argoproj/argo-cd/tags
77resources :
8- - github.com:kubefirst /manifests.git/argocd/cloud?ref=main
8+ - github.com:konstructio /manifests.git/argocd/cloud?ref=v1.1.0
99 - argocd-ui-ingress.yaml
1010 - externalsecrets.yaml
1111 - argocd-oidc-restart-job.yaml
Original file line number Diff line number Diff line change @@ -56,6 +56,16 @@ resource "vault_generic_secret" "docker_config" {
5656 )
5757}
5858
59+ resource "vault_generic_secret" "regsitry_auth" {
60+ path = " ${ vault_mount . secret . path } /registry-auth"
61+
62+ data_json = jsonencode (
63+ {
64+ auth = jsonencode ({ " auths" : { " ghcr.io" : { " auth" : " ${ var . b64_docker_auth } " } } }),
65+ }
66+ )
67+ }
68+
5969resource "vault_generic_secret" "metaphor" {
6070 for_each = toset ([" development" , " staging" , " production" ])
6171
You can’t perform that action at this time.
0 commit comments