diff --git a/environments/dev/kustomization.yaml b/environments/dev/kustomization.yaml index 2c58179..d313573 100644 --- a/environments/dev/kustomization.yaml +++ b/environments/dev/kustomization.yaml @@ -2,12 +2,24 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + # Traefik CRD + - https://raw.githubusercontent.com/traefik/traefik/v2.9/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml + - https://raw.githubusercontent.com/traefik/traefik/v2.9/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml + # MetalLB installation and configuration - https://raw.githubusercontent.com/metallb/metallb/v0.13.7/config/manifests/metallb-native.yaml - ../../metallb + # Miscellanous basic configuration - ../../res + # NFS client configuration + - ../../nfs-provisioner + # Longhorn installation and configuration - https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/longhorn.yaml - ../../longhorn + # Traefik configuration - ../../traefik + # Argo installation and configuration + - ../../argo patchesStrategicMerge: - ../../environments/dev/traefik-internal-service.yaml + - ../../environments/dev/traefik-external-service.yaml diff --git a/environments/dev/traefik-external-service.yaml b/environments/dev/traefik-external-service.yaml new file mode 100644 index 0000000..8419534 --- /dev/null +++ b/environments/dev/traefik-external-service.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: Service +metadata: + name: traefik-external + namespace: default +spec: + loadBalancerIP: 10.18.242.163 diff --git a/environments/dev/traefik-internal-service.yaml b/environments/dev/traefik-internal-service.yaml index 0853eb8..3397717 100644 --- a/environments/dev/traefik-internal-service.yaml +++ b/environments/dev/traefik-internal-service.yaml @@ -4,4 +4,4 @@ metadata: name: traefik-internal namespace: default spec: - loadBalancerIP: 10.10.0.42 + loadBalancerIP: 10.10.0.26