Giter VIP home page Giter VIP logo

Comments (5)

devops-cafex avatar devops-cafex commented on August 11, 2024 1

Tried both suggested containers names with helm but both give the error suggestions the support value is csi-node-driver"

Error: UPGRADE FAILED: release calico failed, and has been rolled back due to atomic being set: cannot patch "default" with kind Installation: Installation.operator.tigera.io "default" is invalid: spec.csiNodeDriverDaemonSet.spec.template.spec.containers[0].name: Unsupported value: "calico-csi": supported values: "csi-node-driver"

Error: UPGRADE FAILED: release calico failed, and has been rolled back due to atomic being set: cannot patch "default" with kind Installation: Installation.operator.tigera.io "default" is invalid: spec.csiNodeDriverDaemonSet.spec.template.spec.containers[0].name: Unsupported value: "csi-node-driver-registrar": supported values: "csi-node-driver"

from operator.

tmjd avatar tmjd commented on August 11, 2024 1

I've created projectcalico/calico#8883 in the repo where the helm chart comes from because this is a helm chart issue, not an operator functionality issue. I'm going to close this issue. If you believe there is an operator issue here please comment and I can re-open this.

from operator.

tmjd avatar tmjd commented on August 11, 2024

You've not used a correct container name, see the docs for the allowed container names (calico-csi or csi-node-driver-registrar).

I'm not sure why we still allowed csi-node-driver as an allowed value, I'm guessing it was so we didn't break anything for someone that has used that as a container name, it was allowed before and if we removed it from the allowed values then a previously functioning config would have resulted in errors.

from operator.

mashiofu-cafex avatar mashiofu-cafex commented on August 11, 2024

You've not used a correct container name, see the docs for the allowed container names (calico-csi or csi-node-driver-registrar).

I'm not sure why we still allowed csi-node-driver as an allowed value, I'm guessing it was so we didn't break anything for someone that has used that as a container name, it was allowed before and if we removed it from the allowed values then a previously functioning config would have resulted in errors.

Perhaps the reason this cannot be set might be due to this line in the chart? https://github.com/projectcalico/calico/blob/master/charts/tigera-operator/crds/operator.tigera.io_installations_crd.yaml#L6869

from operator.

tmjd avatar tmjd commented on August 11, 2024

Yeah it seems the source of the helm chart has not pulled in the proper updates from this repo. You can see the expected allowed values in this repo here https://github.com/tigera/operator/blob/master/api/v1/csi_node_driver.go#L28

from operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.