kubernetes-sigs / cluster-api-provider-nested

Cluster API Provider for Nested Clusters
Apache License 2.0
298 stars 65 forks source link

Pod DWS support container Commands&Args update #320

Closed wondywang closed 1 year ago

wondywang commented 1 year 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 1 year ago

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