Skip to content

Commit

Permalink
use spegel
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer committed Oct 31, 2024
1 parent 1984330 commit beca9a1
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions terraform/modules/azure/aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -388,24 +388,22 @@ provider "helm" {
}
}

resource "helm_release" "tugger" {
name = "tugger"
namespace = "tugger"
repository = "https://jainishshah17.github.io/tugger"
chart = "tugger"
resource "helm_release" "spegel" {
name = "spegel"
namespace = "spegel"
repository = "oci://ghcr.io/spegel-org/helm-charts"
chart = "spegel"
create_namespace = true
version = "v0.0.27"

values = [
<<EOF
createMutatingWebhook: true
replicaCount: 2
rules:
- pattern: ^docker.io/(.*)
replacement: ${var.azure_container_registry_enpoint}/$1
whitelistNamespaces:
- kube-system
- kube-public
- calico-system
- tigera-operator
spegel:
additionalMirrorRegistries:
- ${var.azure_container_registry_enpoint}
appendMirrors: false
registries:
- https://docker.io
EOF
]
}

0 comments on commit beca9a1

Please sign in to comment.