provider-jet-aws icon indicating copy to clipboard operation
provider-jet-aws copied to clipboard

Sample ProviderConfig to use direclty.

Open luebken opened this issue 4 years ago • 5 comments

What problem are you facing?

When I'm installing the providerconfig I keep running into the problem of using the wrong APIVersion: apiVersion: aws.crossplane.io/v1beta1 instead of apiVersion: aws.tf.crossplane.io/v1alpha1

How could Crossplane help solve your problem?

Provide a sample providerconfig similar to https://raw.githubusercontent.com/crossplane/crossplane/release-1.4/docs/snippets/configure/aws/providerconfig.yaml

luebken avatar Oct 15 '21 13:10 luebken

@luebken indeed we already have an example here: https://github.com/crossplane-contrib/provider-tf-aws/blob/main/examples/tfaws/providerconfig.yaml Just in case you're not aware.

turkenh avatar Oct 16 '21 12:10 turkenh

I was not. Perfect thanks.

luebken avatar Oct 16 '21 12:10 luebken

Actually, I was looking for a ProviderConfig with without the Secret so I can use it directly with kubectl apply -f URL

luebken avatar Oct 16 '21 12:10 luebken

is this still relevant ? so we can simply add the following manifest like classic provider-aws

---
apiVersion: aws.jet.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
  name: example
spec:
  credentials:
    source: None

haarchri avatar May 08 '22 12:05 haarchri

trying to help .. controllerConfig

piVersion: pkg.crossplane.io/v1alpha1
kind: ControllerConfig
metadata:
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::accountId:role/crossplane-role
  name: terrajet-config
spec:
  podSecurityContext:
    fsGroup: 2000

provider

apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  annotations:
  name: provider-jet
spec:
  controllerConfigRef:
    name: terrajet-config

providerConfig

apiVersion: aws.jet.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
 name: provider-jet
spec:
 credentials:
   source: InjectedIdentity

apmartins85 avatar Jun 15 '22 20:06 apmartins85