We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tiltfile:
k8s_yaml('crd.yaml') k8s_yaml('crontab.yaml')
crd.yaml:
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: crontabs.stable.example.com spec: group: stable.example.com versions: - name: v1 served: true storage: true scope: Namespaced names: plural: crontabs singular: crontab kind: CronTab shortNames: - ct
crontab.yaml:
apiVersion: "stable.example.com/v1" kind: CronTab metadata: name: my-new-cron-object spec: cronSpec: "* * * * */5" image: my-awesome-cron-image
Run tilt down
tilt down
Tilt should gracefully delete all resources, ignoring "not found" errors
Error: Deleting k8s entities: kubernetes delete: unable to recognize "": no matches for kind "CronTab" in version "stable.example.com/v1"
The text was updated successfully, but these errors were encountered:
k8s: improved error handling for missing CRDs. fixes #4519
f9b39fa
722f1f2
e864594
k8s: improved error handling for missing CRDs. fixes #4519 (#4521)
cfc20da
Successfully merging a pull request may close this issue.
Steps to Reproduce
Tiltfile:
crd.yaml:
crontab.yaml:
Run
tilt down
Expected Behavior
Tilt should gracefully delete all resources, ignoring "not found" errors
Current Behavior
Error: Deleting k8s entities: kubernetes delete: unable to recognize "": no matches for kind "CronTab" in version "stable.example.com/v1"
The text was updated successfully, but these errors were encountered: