Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #604 from jasonmadigan/gateway-policy-label
Browse files Browse the repository at this point in the history
gateway.networking.k8s.io/policy should be a label
  • Loading branch information
maleck13 authored Oct 2, 2023
2 parents b318780 + 58e0583 commit bbaf78b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion bundle/manifests/kuadrant.io_dnspolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
gateway.networking.k8s.io/policy: direct
creationTimestamp: null
labels:
gateway.networking.k8s.io/policy: direct
name: dnspolicies.kuadrant.io
spec:
group: kuadrant.io
Expand Down
3 changes: 2 additions & 1 deletion bundle/manifests/kuadrant.io_tlspolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
gateway.networking.k8s.io/policy: direct
creationTimestamp: null
labels:
gateway.networking.k8s.io/policy: direct
name: tlspolicies.kuadrant.io
spec:
group: kuadrant.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ resources:
configurations:
- kustomizeconfig.yaml

# Set the gateway.networking.k8s.io/policy annotation in the policies
# Set the gateway.networking.k8s.io/policy label in the policies
patchesStrategicMerge:
- patches/policy-patch.yaml
4 changes: 2 additions & 2 deletions config/crd/patches/policy-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: dnspolicies.kuadrant.io
annotations:
labels:
gateway.networking.k8s.io/policy: direct
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: tlspolicies.kuadrant.io
annotations:
labels:
gateway.networking.k8s.io/policy: direct

0 comments on commit bbaf78b

Please sign in to comment.