kubernetes-retired / cluster-api-provider-nested

Cluster API Provider for Nested Clusters
Apache License 2.0
301 stars 67 forks source link

Pod DWS support container Commands&Args update #320

Closed wondywang closed 2 years ago

wondywang commented 2 years ago

User Story

As a user I would like to both change container image.name and commands. But i found that Pod DWS sync only image.name, except commands. Maybe sometimes, it is possible that the startup parameters of the image also need to be changed synchronously.

Detailed Description

apiVersion: v1
kind: Pod
metadata:
  name: command-demo
spec:
  containers:
  - name: command-demo-container
    image: debian
    command: ["printenv"]
    args: ["HOSTNAME", "KUBERNETES_PORT"]

Pod DWS should support container Commands&Args update also.

/kind feature

wondywang commented 2 years ago

the kubernetes community version does not allow container commands. i should close this issue.