chore(helm chart): remove flag to use FE1 over FE2 (#4038)

This commit is contained in:
Iain Sproat
2025-02-20 18:03:34 +00:00
committed by GitHub
parent 12fc717115
commit 18128aefec
9 changed files with 1 additions and 39 deletions
@@ -1,4 +1,3 @@
{{- if .Values.frontend_2.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -160,4 +159,3 @@ spec:
{{- if .Values.frontend_2.serviceAccount.create }}
serviceAccountName: {{ include "frontend_2.name" $ }}
{{- end }}
{{- end }}
@@ -1,4 +1,3 @@
{{- if .Values.frontend_2.enabled -}}
{{- if (and (.Values.frontend_2.networkPolicy.enabled) (eq .Values.networkPlugin.type "cilium")) -}}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
@@ -45,4 +44,3 @@ spec:
# redis
{{ include "speckle.networkpolicy.egress.redis.cilium" $ | indent 4 }}
{{- end -}}
{{- end -}}
@@ -1,4 +1,3 @@
{{- if .Values.frontend_2.enabled -}}
{{- if (and (.Values.frontend_2.networkPolicy.enabled) (eq .Values.networkPlugin.type "kubernetes")) -}}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
@@ -44,4 +43,3 @@ spec:
# redis
{{ include "speckle.networkpolicy.egress.redis" $ | indent 4 }}
{{- end -}}
{{- end -}}
@@ -1,4 +1,3 @@
{{- if .Values.frontend_2.enabled }}
apiVersion: v1
kind: Service
metadata:
@@ -15,4 +14,3 @@ spec:
name: web
port: 8080
targetPort: www
{{- end }}
@@ -1,4 +1,4 @@
{{- if (and .Values.frontend_2.enabled .Values.frontend_2.serviceAccount.create) -}}
{{- if .Values.frontend_2.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
@@ -17,7 +17,6 @@ spec:
- host: {{ .Values.domain }}
http:
paths:
{{- if .Values.frontend_2.enabled }}
- pathType: Prefix
path: "/"
backend:
@@ -25,15 +24,6 @@ spec:
name: speckle-frontend-2
port:
name: web
{{- else }}
- pathType: Prefix
path: "/"
backend:
service:
name: speckle-frontend
port:
name: www
{{- end }}
- pathType: Exact
path: "/graphql"
backend:
@@ -18,28 +18,16 @@ spec:
path: "/metrics"
backend:
service:
{{- if .Values.frontend_2.enabled }}
name: speckle-frontend-2
port:
name: web
{{- else }}
name: speckle-frontend
port:
name: www
{{- end }}
- pathType: Exact
path: "/api/status"
backend:
service:
{{- if .Values.frontend_2.enabled }}
name: speckle-frontend-2
port:
name: web
{{- else }}
name: speckle-frontend
port:
name: www
{{- end }}
- pathType: Exact
path: "/liveness"
backend:
@@ -1712,11 +1712,6 @@
}
}
},
"enabled": {
"type": "boolean",
"description": "Feature flag to enable running the new web application frontend.",
"default": true
},
"replicas": {
"type": "number",
"description": "The number of instances of the Frontend 2 server prod to be deployed withing the cluster.",
-3
View File
@@ -1006,9 +1006,6 @@ frontend_2:
enabled: false
## @param frontend_2.inspect.port The port on which the nodejs inspect feature should be exposed
port: '7000'
## @param frontend_2.enabled Feature flag to enable running the new web application frontend.
##
enabled: true
## @param frontend_2.replicas The number of instances of the Frontend 2 server prod to be deployed withing the cluster.
##
replicas: 1