Update 2 files
- /cmd/server.go - /cmd/deploy.yaml
This commit is contained in:
@@ -53,7 +53,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: APP
|
app: APP
|
||||||
---
|
---
|
||||||
# File autogenerated by ./scripts/gen-certs.sh
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
data:
|
data:
|
||||||
cert.pem: CA_BUNDLE
|
cert.pem: CA_BUNDLE
|
||||||
@@ -82,7 +81,7 @@ webhooks:
|
|||||||
path: /
|
path: /
|
||||||
caBundle: CA_BUNDLE
|
caBundle: CA_BUNDLE
|
||||||
rules:
|
rules:
|
||||||
- operations: ["CREATE", "UPDATE"]
|
- operations: ["UPDATE", "CREATE"]
|
||||||
apiGroups: ["*"]
|
apiGroups: ["cilium.io"]
|
||||||
apiVersions: ["*"]
|
apiVersions: ["v2"]
|
||||||
resources: ["CiliumEnvoyConfig"]
|
resources: ["ciliumenvoyconfigs"]
|
||||||
@@ -97,7 +97,7 @@ var (
|
|||||||
if filter["name"] == "envoy.filters.network.http_connection_manager" {
|
if filter["name"] == "envoy.filters.network.http_connection_manager" {
|
||||||
upgradeConfigs := filter["upgradeConfigs"].([]interface{})
|
upgradeConfigs := filter["upgradeConfigs"].([]interface{})
|
||||||
upgradeConfigs = append(upgradeConfigs, map[string]interface{}{
|
upgradeConfigs = append(upgradeConfigs, map[string]interface{}{
|
||||||
"upgradeType": "websoctailscale-control-protocolket",
|
"upgradeType": "tailscale-control-protocol",
|
||||||
})
|
})
|
||||||
filter["upgradeConfigs"] = upgradeConfigs
|
filter["upgradeConfigs"] = upgradeConfigs
|
||||||
filter["useRemoteAddress"] = true
|
filter["useRemoteAddress"] = true
|
||||||
|
|||||||
Reference in New Issue
Block a user