-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix missing ToConnectionSecretKey in conversion
Signed-off-by: ravilr <[email protected]> (cherry picked from commit 1fe0444)
- Loading branch information
1 parent
5bfb71a
commit 92d04ce
Showing
3 changed files
with
53 additions
and
2 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
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,33 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
namespace: default | ||
name: test-sa | ||
--- | ||
apiVersion: kubernetes.crossplane.io/v1alpha1 | ||
kind: Object | ||
metadata: | ||
name: test-sa | ||
spec: | ||
connectionDetails: | ||
- apiVersion: v1 | ||
fieldPath: data.token | ||
kind: Secret | ||
name: test-sa-token | ||
namespace: default | ||
toConnectionSecretKey: token | ||
forProvider: | ||
manifest: | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
annotations: | ||
kubernetes.io/service-account.name: test-sa | ||
name: test-sa-token | ||
namespace: default | ||
type: kubernetes.io/service-account-token | ||
providerConfigRef: | ||
name: kubernetes-provider | ||
writeConnectionSecretToRef: | ||
name: test-sa-conn-out | ||
namespace: default |