-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example for AuthConfig v1beta1 in the CSV
Having an example for version of the API that is served is required by some operator hub test pipelines.
- Loading branch information
1 parent
cdb55b4
commit 5b6bc92
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: authorino.kuadrant.io/v1beta1 | ||
kind: AuthConfig | ||
metadata: | ||
name: my-api-protection | ||
spec: | ||
hosts: | ||
- my-api.io | ||
identity: | ||
- name: api-key-users | ||
apiKey: | ||
selector: | ||
matchLabels: | ||
group: friends | ||
credentials: | ||
in: authorization_header | ||
keySelector: APIKEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
## Append samples you want in your CSV to this file as resources ## | ||
resources: | ||
- authorino-operator_v1beta1_authorino.yaml | ||
- authorino-operator_v1beta1_authconfig.yaml | ||
- authorino-operator_v1beta2_authconfig.yaml | ||
#+kubebuilder:scaffold:manifestskustomizesamples |