Skip to content

CRD Validation Issues #469

@fhennig

Description

@fhennig

When working with the docs, the go code highlighted some validation problems with our CRDs:

Airflow

3:38:25 AM: Indexing repo: {Org:stackabletech Repo:airflow-operator Tag:nightly}
3:38:26 AM: 2023/11/30 02:38:26 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[clusterConfig].default.credentialsSecret: Invalid value: "null": credentialsSecret in body must be of type string: "null"
3:38:26 AM: Indexing repo: {Org:stackabletech Repo:airflow-operator Tag:23.7.0}
3:38:27 AM: 2023/11/30 02:38:27 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[clusterConfig].default.credentialsSecret: Invalid value: "null": credentialsSecret in body must be of type string: "null"

Superset

3:38:32 AM: Indexing repo: {Org:stackabletech Repo:superset-operator Tag:nightly}
3:38:32 AM: 2023/11/30 02:38:32 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[clusterConfig].default.credentialsSecret: Invalid value: "null": credentialsSecret in body must be of type string: "null"
3:38:32 AM: Indexing repo: {Org:stackabletech Repo:superset-operator Tag:23.7.0}
3:38:33 AM: 2023/11/30 02:38:33 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[clusterConfig].default.credentialsSecret: Invalid value: "null": credentialsSecret in body must be of type string: "null"

commons

3:38:34 AM: Indexing repo: {Org:stackabletech Repo:commons-operator Tag:nightly}
3:38:34 AM: 2023/11/30 02:38:34 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchBase].default: Invalid value: "null":  in body must be of type string: "null"
3:38:34 AM: 2023/11/30 02:38:34 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchFilter].default: Invalid value: "null":  in body must be of type string: "null"
3:38:34 AM: Indexing repo: {Org:stackabletech Repo:commons-operator Tag:23.7.0}
3:38:34 AM: 2023/11/30 02:38:34 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchBase].default: Invalid value: "null":  in body must be of type string: "null"
3:38:34 AM: 2023/11/30 02:38:34 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchFilter].default: Invalid value: "null":  in body must be of type string: "null"
3:38:34 AM: Indexing repo: {Org:stackabletech Repo:commons-operator Tag:23.4.0}
3:38:34 AM: 2023/11/30 02:38:34 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchBase].default: Invalid value: "null":  in body must be of type string: "null"
3:38:34 AM: 2023/11/30 02:38:34 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchFilter].default: Invalid value: "null":  in body must be of type string: "null"
3:38:34 AM: Indexing repo: {Org:stackabletech Repo:commons-operator Tag:23.1.0}
3:38:35 AM: 2023/11/30 02:38:35 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchBase].default: Invalid value: "null":  in body must be of type string: "null"
3:38:35 AM: 2023/11/30 02:38:35 WARNING: spec.validation.openAPIV3Schema.properties[spec].properties[provider].properties[ldap].properties[searchFilter].default: Invalid value: "null":  in body must be of type string: "null"
### Tasks
- [ ] https://github.com/stackabletech/airflow-operator/pull/353
- [ ] https://github.com/stackabletech/superset-operator/pull/429

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions