-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for authentication credentials in ProviderConfig (#63)
Signed-off-by: Ariel Septon <[email protected]>
- Loading branch information
1 parent
2b1f71c
commit 0702bc5
Showing
7 changed files
with
61 additions
and
16 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,13 @@ | ||
apiVersion: http.crossplane.io/v1alpha1 | ||
kind: ProviderConfig | ||
metadata: | ||
name: http-conf | ||
spec: | ||
credentials: | ||
source: Secret | ||
# The value of this secret will be used to set the "Authorization" header for all requests made with this config. | ||
# It will be added as: "Authorization": "<secret-value>". | ||
secretRef: | ||
namespace: crossplane-system | ||
name: http-provider-secret | ||
key: token |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ metadata: | |
name: http-conf | ||
spec: | ||
credentials: | ||
source: InjectedIdentity | ||
source: None |
File renamed without changes.
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
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