website icon indicating copy to clipboard operation
website copied to clipboard

Issue with k8s.io/docs/tasks/inject-data-application/podpreset/

Open munan921 opened this issue 7 years ago • 4 comments

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/...

munan921 avatar Dec 22 '18 02:12 munan921

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

fejta-bot avatar Mar 22 '19 03:03 fejta-bot

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

fejta-bot avatar Apr 21 '19 04:04 fejta-bot

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 avatar May 21 '19 05:05 fejta-bot

@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.

k8s-ci-robot avatar May 21 '19 05:05 k8s-ci-robot