apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
297 stars 231 forks source link

[Bug] Ext Kafka in mycluster.yml throws error in schema verification #669

Closed verbunk closed 2 years ago

verbunk commented 3 years ago

Pulling a fresh copy of openwhisk-deploy-kube and specifying an external kafka per the configChoice.md,

kafka:
  external: true
  connect_string: kafka.server.com:9092

yields an error,

> helm upgrade --install dev . -f mycluster.yml

Release "dev" does not exist. Installing it now. Error: values don't meet the specifications of the schema(s) in the following chart(s): openwhisk:

Removing the kafka block in values.schema.json allows the deployment to continue.

    "kafka": {
      "allOf": [
        { "$ref": "#/definitions/podspec" },
        { "properties": { "port": { "type": "integer", "minimum": 0 } }, "required": ["port"] }
      ]
    },