diff --git a/apps/plane/base/ingress.yaml b/apps/plane/base/ingress.yaml deleted file mode 100644 index cfa6a34..0000000 --- a/apps/plane/base/ingress.yaml +++ /dev/null @@ -1,46 +0,0 @@ -#apiVersion: networking.k8s.io/v1 -#kind: Ingress -#metadata: -# namespace: plane -# name: plane-ingress -#spec: -# ingressClassName: nginx -# rules: -# - host: plane.cluster.edward.sydney -# http: -# paths: -# - backend: -# service: -# port: -# number: 3000 -# name: plane-web -# path: / -# pathType: Prefix -# - backend: -# service: -# port: -# number: 8000 -# name: plane-api -# path: /api -# pathType: Prefix -# - backend: -# service: -# port: -# number: 8000 -# name: plane-api -# path: /auth -# pathType: Prefix -# - backend: -# service: -# port: -# number: 3000 -# name: plane-space -# path: /spaces -# pathType: Prefix -# - backend: -# service: -# port: -# number: 3000 -# name: plane-admin -# path: /god-mode -# pathType: Prefix \ No newline at end of file diff --git a/apps/plane/base/kustomization.yaml b/apps/plane/base/kustomization.yaml index 50c137f..eafdf5d 100644 --- a/apps/plane/base/kustomization.yaml +++ b/apps/plane/base/kustomization.yaml @@ -6,5 +6,4 @@ resources: - ./job.yaml - ./deployment.yaml - ./stateful-set.yaml - - ./service.yaml -# - ./ingress.yaml \ No newline at end of file + - ./service.yaml \ No newline at end of file diff --git a/apps/plex/base/values.yaml b/apps/plex/base/values.yaml index 8c45a46..85205bb 100644 --- a/apps/plex/base/values.yaml +++ b/apps/plex/base/values.yaml @@ -8,6 +8,12 @@ extraEnv: PLEX_UID: 1000 PLEX_GID: 1000 ALLOWED_NETWORKS: "0.0.0.0/0" +service: + type: LoadBalancer + port: 32400 + annotations: + metallb.universe.tf/address-pool: k3s-cluster-ip-pool + metallb.universe.tf/allow-shared-ip: k3s-cluster extraVolumeMounts: - name: plex-tv mountPath: /tv diff --git a/apps/rlpa-server/base/service.yaml b/apps/rlpa-server/base/service.yaml index 24c8819..fd4aac8 100644 --- a/apps/rlpa-server/base/service.yaml +++ b/apps/rlpa-server/base/service.yaml @@ -3,12 +3,15 @@ kind: Service metadata: name: rlpa-server namespace: rlpa + annotations: + metallb.universe.tf/address-pool: k3s-cluster-ip-pool + metallb.universe.tf/allow-shared-ip: k3s-cluster labels: app.kubernetes.io/name: rlpa spec: selector: app.kubernetes.io/name: rlpa - type: ClusterIP + type: LoadBalancer internalTrafficPolicy: Cluster ports: - protocol: TCP diff --git a/apps/stirling-pdf/base/service.yaml b/apps/stirling-pdf/base/service.yaml index c10f0b9..0a74908 100644 --- a/apps/stirling-pdf/base/service.yaml +++ b/apps/stirling-pdf/base/service.yaml @@ -3,12 +3,15 @@ kind: Service metadata: name: stirling-pdf namespace: stirling-pdf + annotations: + metallb.universe.tf/address-pool: k3s-cluster-ip-pool + metallb.universe.tf/allow-shared-ip: k3s-cluster labels: app.kubernetes.io/name: stirling-pdf spec: selector: app.kubernetes.io/name: stirling-pdf - type: ClusterIP + type: LoadBalancer internalTrafficPolicy: Cluster ports: - protocol: TCP diff --git a/apps/stirling-pdf/env/k3s-cluster/ingress.yaml b/apps/stirling-pdf/env/k3s-cluster/ingress.yaml deleted file mode 100644 index 2f972b2..0000000 --- a/apps/stirling-pdf/env/k3s-cluster/ingress.yaml +++ /dev/null @@ -1,21 +0,0 @@ -#apiVersion: networking.k8s.io/v1 -#kind: Ingress -#metadata: -# name: stirling-pdf-ingress -# namespace: stirling-pdf -# annotations: -# nginx.ingress.kubernetes.io/ssl-redirect: "false" -# nginx.ingress.kubernetes.io/use-regex: "true" -#spec: -# ingressClassName: nginx -# rules: -# - host: "s-pdf.cluster.edward.sydney" -# http: -# paths: -# - pathType: Prefix -# path: "/" -# backend: -# service: -# name: stirling-pdf -# port: -# number: 8080 \ No newline at end of file diff --git a/apps/stirling-pdf/env/k3s-cluster/kustomization.yaml b/apps/stirling-pdf/env/k3s-cluster/kustomization.yaml index ef7a630..a227ac4 100644 --- a/apps/stirling-pdf/env/k3s-cluster/kustomization.yaml +++ b/apps/stirling-pdf/env/k3s-cluster/kustomization.yaml @@ -1,5 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - ../../base -# - ./ingress.yaml \ No newline at end of file + - ../../base \ No newline at end of file