You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
When I apply manifests using kubectl, everything works great...
But when I try to apply them with terraformv0.14.8 using the kuberntes-alpha official provider by hashicorp, I seem to get the following error:
Error: No valid OpenAPI definition
Resource ExternalSecret.v1.kubernetes-client.io does not have a valid OpenAPI
definition in this cluster.
Usually this is caused by a CustomResource without a schema.
I tried running kubectl describe crd externalsecrets.kubernetes-client.io and indeed saw some strange errors (last lines of the long output):
Last Transition Time: 2021-03-25T10:38:21Z
Message: [spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[isBinary].description: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[isBinary].type: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[key].description: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[key].type: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[name].description: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[name].type: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[0].properties[property].description: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[1].properties[path].description: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[1].properties[recursive].description: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.properties[spec].properties[data].items.anyOf[1].properties[recursive].type: Forbidden: must be empty to be structural, spec.validation.openAPIV3Schema.type: Required value: must not be empty at the root]
Reason: Violations
Status: True
Type: NonStructuralSchema
Last Transition Time: 2021-03-25T10:38:21Z
Message: no conflicts found
Reason: NoConflicts
Status: True
Type: NamesAccepted
Last Transition Time: 2021-03-25T10:38:21Z
Message: the initial names have been accepted
Reason: InitialNamesAccepted
Status: True
Type: Established
Seem like there are indeed schema issues that nitpicking terraform fails to go along with.
Maybe this is something that is easily fixed?
The text was updated successfully, but these errors were encountered:
Using version
6.4.0
on GKE:When I apply manifests using kubectl, everything works great...
But when I try to apply them with
terraform
v0.14.8
using thekuberntes-alpha
official provider by hashicorp, I seem to get the following error:I tried running
kubectl describe crd externalsecrets.kubernetes-client.io
and indeed saw some strange errors (last lines of the long output):Seem like there are indeed schema issues that nitpicking terraform fails to go along with.
Maybe this is something that is easily fixed?
The text was updated successfully, but these errors were encountered: