Skip to content

Commit 0efb282

Browse files
committed
rename
Signed-off-by: zirain <zirain2009@gmail.com>
1 parent 3ba98d9 commit 0efb282

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

api/v1alpha1/envoygateway_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ type ExtensionAPISettings struct {
312312
// DisableLua determines if Lua EnvoyExtensionPolicies should be disabled.
313313
// If set to true, the Lua EnvoyExtensionPolicy feature will be disabled.
314314
DisableLua bool `json:"disableLua"`
315-
// EnableSDSSecretRef enables read SDS(Secret Discovery Service) settings from a secret(with type gateway.envoyproxy.io/sds-ref).
315+
// EnableSDSSecretRef enables read SDS(Secret Discovery Service) settings from a secret(with type gateway.envoyproxy.io/sds).
316316
EnableSDSSecretRef bool `json:"enableSDSSecretRef"`
317317
}
318318

api/v1alpha1/shared_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
const (
1919
// SDSSecretType is the type for secrets that reference SDS configuration
20-
SDSSecretType = "gateway.envoyproxy.io/sds-ref"
20+
SDSSecretType = "gateway.envoyproxy.io/sds"
2121

2222
// DefaultDeploymentReplicas is the default number of deployment replicas.
2323
DefaultDeploymentReplicas = 1

internal/gatewayapi/testdata/sds-disabled.in.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ secrets:
7878
metadata:
7979
name: sds-client-cert-default
8080
namespace: envoy-gateway-system
81-
type: gateway.envoyproxy.io/sds-ref
81+
type: gateway.envoyproxy.io/sds
8282
data:
8383
# /var/run/secrets/workload-spiffe-uds/socket
8484
url: L3Zhci9ydW4vc2VjcmV0cy93b3JrbG9hZC1zcGlmZmUtdWRzL3NvY2tldA==
@@ -88,7 +88,7 @@ secrets:
8888
metadata:
8989
name: sds-client-cert-rootca
9090
namespace: default
91-
type: gateway.envoyproxy.io/sds-ref
91+
type: gateway.envoyproxy.io/sds
9292
data:
9393
# /var/run/secrets/workload-spiffe-uds/socket
9494
url: L3Zhci9ydW4vc2VjcmV0cy93b3JrbG9hZC1zcGlmZmUtdWRzL3NvY2tldA==

internal/gatewayapi/testdata/sds-invalid.in.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ secrets:
205205
metadata:
206206
name: sds-ref-1
207207
namespace: default
208-
type: gateway.envoyproxy.io/sds-ref
208+
type: gateway.envoyproxy.io/sds
209209
data:
210210
url: L3Zhci9ydW4vc2VjcmV0cy93b3JrbG9hZC1zcGlmZmUtdWRzL3NvY2tldA== # /var/run/secrets/workload-spiffe-uds/socket
211211
secretName: Uk9PVENB # ROOTCA
@@ -214,7 +214,7 @@ secrets:
214214
metadata:
215215
name: sds-ref-2
216216
namespace: default
217-
type: gateway.envoyproxy.io/sds-ref
217+
type: gateway.envoyproxy.io/sds
218218
data:
219219
url: L3Zhci9ydW4vc2VjcmV0cy93b3JrbG9hZC1zcGlmZmUtdWRzL3NvY2tldA== # /var/run/secrets/workload-spiffe-uds/socket
220220
secretName: Uk9PVENBMg== # ROOTCA2

internal/gatewayapi/testdata/sds.in.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ secrets:
7878
metadata:
7979
name: sds-client-cert-default
8080
namespace: envoy-gateway-system
81-
type: gateway.envoyproxy.io/sds-ref
81+
type: gateway.envoyproxy.io/sds
8282
data:
8383
# /var/run/secrets/workload-spiffe-uds/socket
8484
url: L3Zhci9ydW4vc2VjcmV0cy93b3JrbG9hZC1zcGlmZmUtdWRzL3NvY2tldA==
@@ -88,7 +88,7 @@ secrets:
8888
metadata:
8989
name: sds-client-cert-rootca
9090
namespace: default
91-
type: gateway.envoyproxy.io/sds-ref
91+
type: gateway.envoyproxy.io/sds
9292
data:
9393
# /var/run/secrets/workload-spiffe-uds/socket
9494
url: L3Zhci9ydW4vc2VjcmV0cy93b3JrbG9hZC1zcGlmZmUtdWRzL3NvY2tldA==

site/content/en/latest/api/extension_types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2232,7 +2232,7 @@ _Appears in:_
22322232
| `enableEnvoyPatchPolicy` | _boolean_ | true | | EnableEnvoyPatchPolicy enables Envoy Gateway to<br />reconcile and implement the EnvoyPatchPolicy resources.<br />Warning: Enabling `EnvoyPatchPolicy` may lead to complete security compromise of your system.<br />Users with `EnvoyPatchPolicy` permissions can inject arbitrary configuration to proxies,<br />leading to high Confidentiality, Integrity and Availability risks. |
22332233
| `enableBackend` | _boolean_ | true | | EnableBackend enables Envoy Gateway to<br />reconcile and implement the Backend resources. |
22342234
| `disableLua` | _boolean_ | true | | DisableLua determines if Lua EnvoyExtensionPolicies should be disabled.<br />If set to true, the Lua EnvoyExtensionPolicy feature will be disabled. |
2235-
| `enableSDSSecretRef` | _boolean_ | true | | EnableSDSSecretRef enables read SDS(Secret Discovery Service) settings from a secret(with type gateway.envoyproxy.io/sds-ref). |
2235+
| `enableSDSSecretRef` | _boolean_ | true | | EnableSDSSecretRef enables read SDS(Secret Discovery Service) settings from a secret(with type gateway.envoyproxy.io/sds). |
22362236

22372237

22382238
#### ExtensionHooks

0 commit comments

Comments
 (0)