this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add registry to new bootstrap

+48
+48
infra/modules/local-bootstrap/registry.tf
··· 1 + resource "kubectl_manifest" "registry" { 2 + server_side_apply = true 3 + yaml_body = yamlencode({ 4 + apiVersion = "argoproj.io/v1alpha1" 5 + kind = "Application" 6 + metadata = { 7 + name = "registry" 8 + namespace = helm_release.argocd.namespace 9 + finalizers = ["resources-finalizer.argocd.argoproj.io"] 10 + } 11 + spec = { 12 + project = "default" 13 + destination = { 14 + name = "in-cluster" 15 + namespace = "registry" 16 + } 17 + syncPolicy = local.sync_policy 18 + source = { 19 + repoURL = "http://zotregistry.dev/helm-charts" 20 + chart = "zot" 21 + targetRevision = "0.1.67" 22 + helm = { 23 + valuesObject = { 24 + image = { 25 + repository = "ghcr.io/project-zot/zot" 26 + } 27 + podLabels = { 28 + "istio.io/dataplane-mode" = "ambient" 29 + } 30 + service = { 31 + type = "NodePort" 32 + port = 80 33 + # HACK Use node port for k3s registry mirror. 34 + # See also ../../cluster/roles/k3s/templates/registries.yaml.j2 35 + # The range of valid ports is 30000-32767 36 + nodePort = 30000 37 + } 38 + persistence = true 39 + pvc = { 40 + create = true 41 + storage = "10Gi" 42 + } 43 + } 44 + } 45 + } 46 + } 47 + }) 48 + }