Skip to content

Commit

Permalink
Update CSV template
Browse files Browse the repository at this point in the history
  • Loading branch information
grzpiotrowski committed Dec 11, 2023
1 parent 6f8b45c commit 4799a6f
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
32 changes: 31 additions & 1 deletion bundle/manifests/authorino-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,34 @@ metadata:
annotations:
alm-examples: |-
[
{
"apiVersion": "authorino.kuadrant.io/v1beta2",
"kind": "AuthConfig",
"metadata": {
"name": "talker-api-protection"
},
"spec": {
"authentication": {
"api-key-users": {
"apiKey": {
"selector": {
"matchLabels": {
"group": "friends"
}
}
},
"credentials": {
"authorizationHeader": {
"prefix": "APIKEY"
}
}
}
},
"hosts": [
"talker-api.io"
]
}
},
{
"apiVersion": "operator.authorino.kuadrant.io/v1beta1",
"kind": "Authorino",
Expand Down Expand Up @@ -43,7 +71,9 @@ spec:
kind: AuthConfig
name: authconfigs.authorino.kuadrant.io
version: v1beta1
- kind: AuthConfig
- description: API to describe the desired protection for a service
displayName: AuthConfig
kind: AuthConfig
name: authconfigs.authorino.kuadrant.io
version: v1beta2
- description: API to create instances of authorino
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: API to describe the desired protection for a service
displayName: AuthConfig
kind: AuthConfig
name: authconfigs.authorino.kuadrant.io
version: v1beta2
- description: API to describe the desired protection for a service
displayName: AuthConfig
kind: AuthConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: API to describe the desired protection for a service
displayName: AuthConfig
kind: AuthConfig
name: authconfigs.authorino.kuadrant.io
version: v1beta2
- description: API to describe the desired protection for a service
displayName: AuthConfig
kind: AuthConfig
Expand Down
16 changes: 16 additions & 0 deletions config/samples/authorino-operator_v1beta2_authconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: authorino.kuadrant.io/v1beta2
kind: AuthConfig
metadata:
name: talker-api-protection
spec:
hosts:
- talker-api.io
authentication:
"api-key-users":
apiKey:
selector:
matchLabels:
group: friends
credentials:
authorizationHeader:
prefix: APIKEY
1 change: 1 addition & 0 deletions config/samples/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Append samples you want in your CSV to this file as resources ##
resources:
- authorino-operator_v1beta1_authorino.yaml
- authorino-operator_v1beta2_authconfig.yaml
#+kubebuilder:scaffold:manifestskustomizesamples

0 comments on commit 4799a6f

Please sign in to comment.