Skip to content

Commit e82b147

Browse files
authored
Merge pull request #22 from SUSE/PLAT-1431-rename-istio-gateway
Rename istio-gateway to istio-gateway-virtualservice
2 parents 9b2e2bd + 0b61fce commit e82b147

File tree

20 files changed

+15
-15
lines changed

20 files changed

+15
-15
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77
updates:
88
- package-ecosystem: "cargo"
99
directories:
10-
- "/policies/istio-gateway"
10+
- "/policies/istio-gateway-virtualservice"
1111
schedule:
1212
interval: "weekly"
1313
labels:

.github/release-drafter-istio-gateway.yml renamed to .github/release-drafter-istio-gateway-virtualservice.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name-template: "istio-gateway/v$RESOLVED_VERSION"
33
tag-template: "istio-gateway/v$RESOLVED_VERSION"
44
tag-prefix: istio-gateway/v
55
include-paths:
6-
- "policies/istio-gateway/"
6+
- "policies/istio-gateway-virtualservice/"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ This is a collection of Kubewarden policies that SUSE's ITPE Core Platform team
77
* [harvester-pci-devices](policies/harvester-pci-devices)
88
* [harvester-restricted-network](policies/harvester-restricted-network)
99
* [harvester-restricted-network-vm](policies/harvester-restricted-network-vm)
10-
* [istio-gateway](policies/istio-gateway)
10+
* [istio-gateway-virtualservice](policies/istio-gateway-virtualservice)
1111
* [pod-mig-partitions](policies/pod-mig-partitions)
File renamed without changes.

policies/istio-gateway/Cargo.lock renamed to policies/istio-gateway-virtualservice/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

policies/istio-gateway/Cargo.toml renamed to policies/istio-gateway-virtualservice/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "istio-gateway"
2+
name = "istio-gateway-virtualservice"
33
version = "0.1.0"
44
edition = "2021"
55

File renamed without changes.

policies/istio-gateway/README.md renamed to policies/istio-gateway-virtualservice/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Kubewarden Policy Repository](https://github.com/kubewarden/community/blob/main/badges/kubewarden-policies.svg)](https://github.com/kubewarden/community/blob/main/REPOSITORIES.md#policy-scope)
2-
[![Stable](https://img.shields.io/badge/status-stable-brightgreen?style=for-the-badge)](https://github.com/kubewarden/community/blob/main/REPOSITORIES.md#stable)
2+
[![Incubating](https://img.shields.io/badge/status-incubating-orange?style=for-the-badge)](https://github.com/kubewarden/community/blob/main/REPOSITORIES.md#incubating)
33

4-
# istio-gateway
4+
# istio-gateway-virtualservice
55

66
> [!NOTE]
77
> This policy is meant to work with link:https://istio.io/[Istio], but not does not protect resources from its [Gateway API](https://istio.io/latest/docs/tasks/traffic-management/ingress/gateway-api/) implementation.
@@ -11,9 +11,9 @@ For configured Gateway resources, it will ensure that VirtualService resources a
1111

1212
## Settings
1313

14-
| Field | Description |
15-
|---------------------------------------------------------------------------------|----------------------------------------------|
16-
| gatewayRestirctions <br/> map[string, [gatewayRestriction](#gatewayRestriction) | A list of Istio Gateway objects to restrict. |
14+
| Field | Description |
15+
|----------------------------------------------------------------------------------|----------------------------------------------|
16+
| gatewayRestrictions <br/> map[string, [gatewayRestriction](#gatewayRestriction)] | A list of Istio Gateway objects to restrict. |
1717

1818
### GatewayRestriction
1919

@@ -43,7 +43,7 @@ kind: ClusterAdmissionPolicy
4343
metadata:
4444
name: istio-gw-policy-1
4545
spec:
46-
module: registry://ghcr.io/suse/openplatform-kubewarden-policies/istio-gateway:latest
46+
module: registry://ghcr.io/suse/openplatform-kubewarden-policies/istio-gateway-virtualservice:latest
4747
rules:
4848
- apiGroups: ["networking.istio.io"]
4949
apiVersions: ["v1"]
File renamed without changes.

policies/istio-gateway/metadata.yml renamed to policies/istio-gateway-virtualservice/metadata.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ executionMode: kubewarden-wapc
1515
backgroundAudit: true
1616
annotations:
1717
# artifacthub specific
18-
io.artifacthub.displayName: Istio Gateway
18+
io.artifacthub.displayName: Istio Gateway VirtualService
1919
io.artifacthub.resources: VirtualService
2020
io.artifacthub.keywords: virtualservice
2121
# kubewarden specific:
22-
io.kubewarden.policy.title: istio-gateway
22+
io.kubewarden.policy.title: istio-gateway-virtualservice
2323
io.kubewarden.policy.version: 0.1.0-rc1
2424
io.kubewarden.policy.description: Restrict the usage of the `Gateway` object configured on top of a dedicated instance of istio proxy only to `VirtualService` object coming from a set of namespaces.
2525
io.kubewarden.policy.author: "ITPE CORE Team <itpe-core-maintenance@suse.com>"
2626
io.kubewarden.policy.url: https://github.com/SUSE/openplatform-kubewarden-policies
27-
io.kubewarden.policy.source: https://github.com/SUSE/openplatform-kubewarden-policies/tree/main/policies/istio-gateway
28-
io.kubewarden.policy.ociUrl: ghcr.io/suse/openplatform-kubewarden-policies/istio-gateway
27+
io.kubewarden.policy.source: https://github.com/SUSE/openplatform-kubewarden-policies/tree/main/policies/istio-gateway-virtualservice
28+
io.kubewarden.policy.ociUrl: ghcr.io/suse/openplatform-kubewarden-policies/istio-gateway-virtualservice
2929
io.kubewarden.policy.license: Apache-2.0
3030
io.kubewarden.policy.severity: critical
3131
io.kubewarden.policy.category: Resource validation

0 commit comments

Comments
 (0)