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
options:
kubernetes-service-annotations: {...} # Some k8s-specific YAML
It works great when deploying locally with juju deploy ./bundle.yaml, but fails when pushing up to the charm store:
$ charm push . cs:~kubeflow-charmers/kubeflow
ERROR cannot post archive: bundle verification failed: ["cannot validate application \"kubeflow-jupyterhub\": configuration option \"kubernetes-service-annotations\" not found in charm \"cs:~kubeflow-charmers/kubeflow-jupyterhub\"","cannot validate application \"kubeflow-tf-job-dashboard\": configuration option \"kubernetes-service-annotations\" not found in charm \"cs:~kubeflow-charmers/kubeflow-tf-job-dashboard\""]
The text was updated successfully, but these errors were encountered:
i suspect it's about the fact that cs:~kubeflow-charmers/kubeflow-jupyterhub is a gated charm, and that bundle checking verifies based on the latest public revision when no revision is explicitly specified.
I'm not sure it could reasonably do otherwise, because it can't necessarily assume that the user pushing the bundle has the same permissions as the user that will use it.
Could you try specifying exact charm revisions in the bundle and see if that fixes the issue?
I've tried making the charms public (both stable and edge for kubeflow-jupyterhub), and specifying particular revisions, neither of which seemed to work.
@rogpeppe: I've removed the annotations in bundle.yaml in favor of setting up the annotations in pod-set-spec that @wallyworld just added support for, and the push works great.
I have a bundle that contains this bit of YAML:
It works great when deploying locally with
juju deploy ./bundle.yaml
, but fails when pushing up to the charm store:The text was updated successfully, but these errors were encountered: