[Git][root/k8s/fluxcd][main] refactor(netbox): move specific definitions no overlay

yyvf22 pushed to branch main at Root / Kubernetes / FluxCD Commits: f4c6c639 by yyvf at 2025-08-08T11:18:41-03:00 refactor(netbox): move specific definitions no overlay Issue #9 - - - - - 3 changed files: - apps/base/netbox/helmrelease.yaml - apps/stage/kustomization.yaml - + apps/stage/netbox/helmrelease.yaml Changes: ===================================== apps/base/netbox/helmrelease.yaml ===================================== @@ -41,9 +41,6 @@ spec: repository: root/netbox pullPolicy: Always digest: "sha256:734fbf94e4e48cd32b1c2de5c75e191a2c902fe2ef8b807ea814346d1949deaa" - allowedHosts: - - netbox.k8sstage.c3sl.ufpr.br - - netbox.c3sl.ufpr.br customValidators: virtualization.virtualmachine: - validators.BackupValidator @@ -82,7 +79,6 @@ spec: menu_name: DNS netbox_proxmox_sync: netbox: - domain: netbox.k8sstage.c3sl.ufpr.br port: 443 ssl: true settings: @@ -94,35 +90,6 @@ spec: proxmox: port: 443 ssl: true - ingress: - enabled: true - className: cilium - annotations: - cert-manager.io/cluster-issuer: letsencrypt-dns01 - hosts: - - host: netbox.k8sstage.c3sl.ufpr.br - paths: - - path: / - pathType: Prefix - backend: - service: - name: netbox - port: - number: 80 - - host: netbox.c3sl.ufpr.br - paths: - - path: / - pathType: Prefix - backend: - service: - name: netbox - port: - number: 80 - tls: - - secretName: netbox-tls - hosts: - - netbox.k8sstage.c3sl.ufpr.br - - netbox.c3sl.ufpr.br postgresql: enabled: false valuesFrom: ===================================== apps/stage/kustomization.yaml ===================================== @@ -12,3 +12,8 @@ resources: - ../base/wordpress - ./wordpress/ing.yaml - ../base/netbox +patches: + - path: ./netbox/helmrelease.yaml + target: + kind: HelmRelease + name: netbox ===================================== apps/stage/netbox/helmrelease.yaml ===================================== @@ -0,0 +1,50 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: netbox + namespace: netbox +spec: + interval: 1m + chart: + spec: + chart: netbox + sourceRef: + kind: HelmRepository + name: netbox + values: + allowedHosts: + - netbox.k8sstage.c3sl.ufpr.br + - netbox.c3sl.ufpr.br + pluginsConfig: + netbox_proxmox_sync: + netbox: + domain: netbox.k8sstage.c3sl.ufpr.br + ingress: + enabled: true + className: cilium + annotations: + cert-manager.io/cluster-issuer: letsencrypt-dns01 + hosts: + - host: netbox.k8sstage.c3sl.ufpr.br + paths: + - path: / + pathType: Prefix + backend: + service: + name: netbox + port: + number: 80 + - host: netbox.c3sl.ufpr.br + paths: + - path: / + pathType: Prefix + backend: + service: + name: netbox + port: + number: 80 + tls: + - secretName: netbox-tls + hosts: + - netbox.k8sstage.c3sl.ufpr.br + - netbox.c3sl.ufpr.br View it on GitLab: https://gitlab.c3sl.ufpr.br/root/k8s/fluxcd/-/commit/f4c6c639a2da30b7162e235... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/k8s/fluxcd/-/commit/f4c6c639a2da30b7162e235... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.
participantes (1)
-
yyvf22 (@yyvf22)