Skip to content

Deploy csi-driver-nfs-sas fails with "tls: failed to verify certificate: x509: certificate signed by unknown authority" #651

Closed
@wweghe

Description

@wweghe

Viya4 Deployment Version Details

I'm getting this error when deploying the csi-driver-nfs :

TASK [baseline : Deploy csi-driver-nfs-sas] ************************************
fatal: [localhost]: FAILED! => changed=false
command: /usr/local/bin/helm --version=4.11.0 --repo=https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts show chart 'csi-driver-nfs'
msg: |-
Failure when executing Helm command. Exited 1.
stdout:
stderr: Error: looks like "https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts" is not a valid chart repository or cannot be reached: Get "https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/index.yaml": tls: failed to verify certificate: x509: certificate signed by unknown authority
stderr: |-
Error: looks like "https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts" is not a valid chart repository or cannot be reached: Get "https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/index.yaml": tls: failed to verify certificate: x509: certificate signed by unknown authority
stderr_lines:
stdout: ''
stdout_lines:

This url exists https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts/index.yaml, but it would seem the docker run command doesn't allow it as the certificate is signed by unknown authority

Ansible Variable File Details

No response

Steps to Reproduce

I pulled the latest repo, adapted my yaml-file to my needs, and ran the docker command.
This resulted in the tls: failed to verify certificate: x509: certificate signed by unknown authority

Expected Behavior

I should be able to install the latest csi-driver-nfs

Actual Behavior

I am not able to install the latest csi-driver-nfs

Additional Context

No response

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions