Skip to content

Instantly share code, notes, and snippets.

@saamalik
Created April 10, 2022 07:50
Show Gist options
  • Save saamalik/604a9999ed3539686ad82884830764ab to your computer and use it in GitHub Desktop.
Save saamalik/604a9999ed3539686ad82884830764ab to your computer and use it in GitHub Desktop.
Crossplane examples
# add debugging
# and fix for bug
apiVersion: pkg.crossplane.io/v1alpha1
kind: ControllerConfig
metadata:
name: jet-aws-config
spec:
args: ['-d']
env:
- name: AWS_REGION
value: us-east-1
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: jet-provider-aws
spec:
package: crossplane/provider-jet-aws:main
controllerConfigRef:
name: jet-aws-config
apiVersion: aws.jet.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
name: jet-aws-provider
spec:
assumeRoleARN: "XXXXX"
credentials:
source: InjectedIdentity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment