Skip to content

--dry-run 多 + 号 #90

@CodeJuan

Description

@CodeJuan
kubectl create  configmap xxx --from-file yyy.yml -o yaml --dry-run | kubectl  replace -f -

yyy.yml 文件末尾不能有空行,有空行的话,dry-run的

data:
  yyy.yml: | 后面会多一个+号

很奇怪

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions