Skip to content

Commit 9fcf3e2

Browse files
committed
Remove port change from k8s operator
1 parent 442a380 commit 9fcf3e2

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

kubernetes/gateway-operator/HELM_DEPLOYMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spec:
109109
cpu: "1"
110110
memory: 512Mi
111111
controlPlane:
112-
host: api-platform-control-plane:9243
112+
host: api-platform-control-plane:8443
113113
storage:
114114
type: sqlite
115115
sqlitePath: /app/data/gateway.db

kubernetes/gateway-operator/IMPLEMENTATION_SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ env:
6868
- name: GATEWAY_MANIFEST_PATH
6969
value: "/path/to/manifest.yaml"
7070
- name: GATEWAY_CONTROLPLANE_HOST
71-
value: "gateway:9243"
71+
value: "gateway:8443"
7272
```
7373
7474
### Method 2: Command-Line Flags

kubernetes/gateway-operator/config/gateway_values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ gateway:
3535
policy: 18001
3636
controlPlane:
3737
host: host.docker.internal
38-
port: 9243
38+
port: 8443
3939
token:
4040
value: ""
4141
secretName: ""

kubernetes/gateway-operator/config/samples/api_v1_gatewayconfiguration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
memory: "4Gi"
2626

2727
controlPlane:
28-
host: "gateway-control-plane.gateway-operator-system.svc.cluster.local:9243"
28+
host: "gateway-control-plane.gateway-operator-system.svc.cluster.local:8443"
2929
tls:
3030
enabled: true
3131

kubernetes/gateway-operator/config/samples/operator-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ data:
99
GATEWAY_MANIFEST_PATH: "internal/controller/resources/api-platform-gateway-k8s-manifests.yaml"
1010

1111
# Gateway control plane configuration
12-
GATEWAY_CONTROLPLANE_HOST: "host.docker.internal:9243"
12+
GATEWAY_CONTROLPLANE_HOST: "host.docker.internal:8443"
1313
GATEWAY_CONTROLPLANE_TOKEN: ""
1414

1515
# Storage configuration

kubernetes/gateway-operator/docs/CONFIGURATION.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
- name: GATEWAY_MANIFEST_PATH
4747
value: "internal/controller/resources/api-platform-gateway-k8s-manifests.yaml"
4848
- name: GATEWAY_CONTROLPLANE_HOST
49-
value: "gateway-control-plane:9243"
49+
value: "gateway-control-plane:8443"
5050
- name: GATEWAY_CONTROLPLANE_TOKEN
5151
valueFrom:
5252
secretKeyRef:
@@ -96,7 +96,7 @@ spec:
9696
| Environment Variable | Flag | Default | Description |
9797
|---------------------|------|---------|-------------|
9898
| `GATEWAY_MANIFEST_PATH` | `--gateway-manifest-path` | `internal/controller/resources/api-platform-gateway-k8s-manifests.yaml` | Path to gateway Kubernetes manifest file |
99-
| `GATEWAY_CONTROLPLANE_HOST` | - | `host.docker.internal:9243` | Gateway control plane host address |
99+
| `GATEWAY_CONTROLPLANE_HOST` | - | `host.docker.internal:8443` | Gateway control plane host address |
100100
| `GATEWAY_CONTROLPLANE_TOKEN` | - | `""` | Authentication token for control plane |
101101
| `GATEWAY_STORAGE_TYPE` | - | `sqlite` | Storage backend type |
102102
| `GATEWAY_STORAGE_SQLITE_PATH` | - | `./data/gateway.db` | SQLite database file path |
@@ -252,7 +252,7 @@ View loaded configuration in logs:
252252
```
253253
INFO Loaded operator configuration {
254254
"manifestPath": "/path/to/manifest.yaml",
255-
"controlPlaneHost": "gateway:9243",
255+
"controlPlaneHost": "gateway:8443",
256256
"storageType": "sqlite"
257257
}
258258
```

kubernetes/gateway-operator/docs/GATEWAY_API_SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ spec:
142142
143143
# Control plane configuration
144144
controlPlane:
145-
host: "control-plane.gateway-operator-system:9243"
145+
host: "control-plane.gateway-operator-system:8443"
146146
tokenSecretRef:
147147
name: gateway-credentials
148148
key: token

kubernetes/gateway-operator/internal/controller/resources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Resources created:
205205
| `.Replicas` | int32 | `3` | Number of replicas |
206206
| `.GatewayImage` | string | `"wso2/gateway-controller:latest"` | Controller image |
207207
| `.RouterImage` | string | `"wso2/gateway-router:latest"` | Router image |
208-
| `.ControlPlaneHost` | string | `"cp.example.com:9243"` | Control plane endpoint |
208+
| `.ControlPlaneHost` | string | `"cp.example.com:8443"` | Control plane endpoint |
209209
| `.ControlPlaneTokenSecret` | object | See below | Token secret reference |
210210
| `.LogLevel` | string | `"info"` | Logging level |
211211
| `.StorageType` | string | `"sqlite"` | Storage backend type |

kubernetes/gateway-operator/internal/controller/resources/api-platform-gateway-k8s-manifests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
containers:
8787
- env:
8888
- name: GATEWAY_CONTROLPLANE_HOST
89-
value: host.docker.internal:9243
89+
value: host.docker.internal:8443
9090
- name: GATEWAY_CONTROLPLANE_TOKEN
9191
- name: GATEWAY_LOGGING_LEVEL
9292
value: info

kubernetes/gateway-operator/internal/k8sutil/template_data.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type GatewayManifestTemplateData struct {
3434
// RouterImage is the container image for the router (Envoy)
3535
RouterImage string
3636

37-
// ControlPlaneHost is the host and port of the control plane (e.g., "host.docker.internal:9243")
37+
// ControlPlaneHost is the host and port of the control plane (e.g., "host.docker.internal:8443")
3838
ControlPlaneHost string
3939

4040
// ControlPlaneTokenSecret is the secret reference for control plane authentication token
@@ -87,7 +87,7 @@ func NewGatewayManifestTemplateData(gatewayName string) *GatewayManifestTemplate
8787
Replicas: 1,
8888
GatewayImage: "wso2/gateway-controller:latest",
8989
RouterImage: "wso2/gateway-router:latest",
90-
ControlPlaneHost: "host.docker.internal:9243",
90+
ControlPlaneHost: "host.docker.internal:8443",
9191
LogLevel: "info",
9292
StorageType: "sqlite",
9393
StorageSQLitePath: "/app/data/gateway.db",

0 commit comments

Comments
 (0)