diff --git a/helm-templates/facade-operator/templates/deployment.yaml b/helm-templates/facade-operator/templates/deployment.yaml index 4576e9b..ec2df29 100644 --- a/helm-templates/facade-operator/templates/deployment.yaml +++ b/helm-templates/facade-operator/templates/deployment.yaml @@ -136,6 +136,10 @@ spec: value: 'tls-password' - name: GATEWAY_SYSTEM_TYPE value: '{{ .Values.GATEWAY_SYSTEM_TYPE }}' + - name: GATEWAY_SYSTEM_NAMESPACE + value: '{{ .Values.GATEWAY_SYSTEM_NAMESPACE }}' + - name: GATEWAY_SYSTEM_NAME + value: '{{ .Values.GATEWAY_SYSTEM_NAME }}' - name: READONLY_CONTAINER_FILE_SYSTEM_ENABLED value: '{{ and .Values.READONLY_CONTAINER_FILE_SYSTEM_ENABLED (eq .Values.PAAS_PLATFORM "KUBERNETES") }}' {{- if .Values.CLOUD_TOPOLOGIES }} diff --git a/helm-templates/facade-operator/values.schema.json b/helm-templates/facade-operator/values.schema.json index 62ee4d5..92001bf 100644 --- a/helm-templates/facade-operator/values.schema.json +++ b/helm-templates/facade-operator/values.schema.json @@ -628,7 +628,31 @@ "$id": "#/properties/GATEWAY_SYSTEM_TYPE", "type": "string", "title": "Gateway System Type", - "internal": true + "internal": true, + "examples": [ + "legacy-ingress", + "legacy-ingress,gateway-api-default", + "gateway-api-default" + ], + "description": "The mode of Gateway that applications must apply during installation. The value can be \"legacy-ingress\", \"gateway-api-default\" or \"legacy-ingress, gateway-api-default\". \n\nApplications must use contains helm condition in Helm charts." + }, + + "GATEWAY_SYSTEM_NAME": { + "$id": "#/properties/GATEWAY_SYSTEM_NAME", + "type": "string", + "title": "Gateway System Name", + "internal": true, + "examples": ["default-external-gateway"], + "description": "The value for spec.parentRefs.name of all Gateway API HttpRoute Custom Resources, that mean the name of gateway controller." + }, + + "GATEWAY_SYSTEM_NAMESPACE": { + "$id": "#/properties/GATEWAY_SYSTEM_NAMESPACE", + "type": "string", + "title": "Gateway System Namespace", + "internal": true, + "examples": ["gateway-system"], + "description": "The value for spec.parentRefs.namespace of all Gateway API HttpRoute Custom Resources, that mean the namespace of where gateway controller is deployed." } }, "additionalProperties": true diff --git a/helm-templates/facade-operator/values.yaml b/helm-templates/facade-operator/values.yaml index 15c9094..5f17155 100644 --- a/helm-templates/facade-operator/values.yaml +++ b/helm-templates/facade-operator/values.yaml @@ -29,4 +29,7 @@ INGRESS_CLASS: '' K8S_SERVICE_TYPE: 'CLUSTER_IP' CONSUL_ENABLED: false CONSUL_URL: '' -GATEWAY_SYSTEM_TYPE : '' + +GATEWAY_SYSTEM_TYPE: "legacy-ingress" +GATEWAY_SYSTEM_NAMESPACE: "gateway-system" +GATEWAY_SYSTEM_NAME: "default-external-gateway" \ No newline at end of file