Can't specify apiVersion for resources listed in pod spec's kubernetesResources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I have a CRD that looks like this:
---
apiVersion: apiextensions.
kind: CustomResourceD
metadata:
name: viewers.
spec:
group: kubeflow.org
names:
kind: Viewer
listKind: ViewerList
plural: viewers
shortNames:
- vi
singular: viewer
scope: Namespaced
versions:
- name: v1beta1
served: true
storage: true
Note that the apiVersion is listed as "apiextensions.
k8s_resources=
{"name": crd["metadata"
for crd in yaml.safe_
]}}
There is no way for me to specify the apiVersion, and either Juju or Kubernetes is defaulting to "apiextensions.
creating or updating custom resource definitions: ensuring custom resource definition "scheduledworkf
Changed in juju: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Can you migrate the charm to use the v1 api?
We'd rather not have to try and support the beta api.