Skip to content

Commit

Permalink
fix: config samples
Browse files Browse the repository at this point in the history
Signed-off-by: KevFan <[email protected]>
  • Loading branch information
KevFan committed Nov 11, 2024
1 parent ece27f1 commit 0b7d194
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
22 changes: 13 additions & 9 deletions bundle/manifests/kuadrant-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ metadata:
"apiVersion": "kuadrant.io/v1",
"kind": "AuthPolicy",
"metadata": {
"name": "toystore"
"name": "authpolicy-sample"
},
"spec": {
"rules": {
"authentication": {
"apikey": {
"apiKey": {
"selector": {}
}
},
"credentials": {
"authorizationHeader": {
"prefix": "APIKEY"
},
"credentials": {
"authorizationHeader": {
"prefix": "APIKEY"
}
}
}
}
Expand All @@ -40,9 +40,13 @@ metadata:
},
"spec": {
"healthCheck": {
"endpoint": "/",
"protocol": "HTTP"
},
"providerRefs": [
{
"name": "provider-ref"
}
],
"targetRef": {
"group": "gateway.networking.k8s.io",
"kind": "Gateway",
Expand All @@ -54,7 +58,7 @@ metadata:
"apiVersion": "kuadrant.io/v1",
"kind": "RateLimitPolicy",
"metadata": {
"name": "toystore"
"name": "ratelimitpolicy-sample"
},
"spec": {
"limits": {
Expand Down Expand Up @@ -105,7 +109,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/kuadrant-operator:latest
createdAt: "2024-11-08T16:43:37Z"
createdAt: "2024-11-11T15:59:29Z"
description: A Kubernetes Operator to manage the lifecycle of the Kuadrant system
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down
8 changes: 4 additions & 4 deletions config/samples/kuadrant_v1_authpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: kuadrant.io/v1
kind: AuthPolicy
metadata:
name: toystore
name: authpolicy-sample
spec:
targetRef:
group: gateway.networking.k8s.io
Expand All @@ -13,6 +13,6 @@ spec:
"apikey":
apiKey:
selector: {}
credentials:
authorizationHeader:
prefix: APIKEY
credentials:
authorizationHeader:
prefix: APIKEY
3 changes: 2 additions & 1 deletion config/samples/kuadrant_v1_dnspolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ spec:
group: gateway.networking.k8s.io
kind: Gateway
healthCheck:
endpoint: /
protocol: HTTP
providerRefs:
- name: "provider-ref"
2 changes: 1 addition & 1 deletion config/samples/kuadrant_v1_ratelimitpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: kuadrant.io/v1
kind: RateLimitPolicy
metadata:
name: toystore
name: ratelimitpolicy-sample
spec:
targetRef:
group: gateway.networking.k8s.io
Expand Down

0 comments on commit 0b7d194

Please sign in to comment.