Issue with k8s.io/docs/tasks/inject-data-application/podpreset/
This is a...
- [ ] Feature Request
- [x] Bug Report
Problem: I want to use podpreset to inject dnsPolicy into the pod, but I get an error. context: error: error validating "podpreset.yml": error validating data: ValidationError(PodPreset.spec): unknown field "hostAliases" in io.k8s.api.settings.v1alpha1.PodPresetSpec; if you choose to ignore these errors, turn validation off with --validate=false
my yml file:
apiVersion: settings.k8s.io/v1alpha1 kind: PodPreset metadata: name: allow-dns-policy namespace: prod spec: selector: matchLabels:
hostAliases:
- ip: "172.16.0.100"
hostnames:
- "a.b.cn"
Proposed Solution:
Page to Update: https://kubernetes.io/...
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
@fejta-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity. Reopen the issue with
/reopen. Mark the issue as fresh with/remove-lifecycle rotten.Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.