Open negz opened 4 months ago
aws.upbound.io/v1beta1 - ProviderConfig
N/A
Look at https://github.com/upbound/provider-aws/blob/v1.1.0/apis/v1beta1/types.go#L27
Kubernetes API fields should be camelCase. This provider's ProviderConfig has a mix of camelCase and snake_case fields. For example:
camelCase
snake_case
spec.skip_credentials_validation
spec.skip_region_validation
etc
No response
v1.1.0
I just learned there's a linter that can catch this. It's supported by golangci-lint: https://github.com/ldez/tagliatelle
Is there an existing issue for this?
Affected Resource(s)
aws.upbound.io/v1beta1 - ProviderConfig
Resource MRs required to reproduce the bug
N/A
Steps to Reproduce
Look at https://github.com/upbound/provider-aws/blob/v1.1.0/apis/v1beta1/types.go#L27
What happened?
Kubernetes API fields should be
camelCase
. This provider's ProviderConfig has a mix ofcamelCase
andsnake_case
fields. For example:spec.skip_credentials_validation
spec.skip_region_validation
etc
Relevant Error Output Snippet
No response
Crossplane Version
N/A
Provider Version
v1.1.0
Kubernetes Version
No response
Kubernetes Distribution
No response
Additional Info
No response