Git Product home page Git Product logo

Comments (2)

Crazybus avatar Crazybus commented on July 24, 2024

Hi @jolson787

You need to specify the full imagePullSecrets as you see in https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod

Here is an example of the formatting that needs to be used. I think you might have been missing the - name: secretname part.

def test_adding_image_pull_secrets():
config = '''
imagePullSecrets:
- name: test-registry
'''
r = helm_template(config)
assert r['statefulset'][uname]['spec']['template']['spec']['imagePullSecrets'][0]['name'] == 'test-registry'

If it still doesn't work could you post the exact yaml configuration you have. And also any error that you might be getting? And could you also include the output of kubectl get secrets

from helm-charts.

Crazybus avatar Crazybus commented on July 24, 2024

Closing this one out as it is certainly working and supported. Feel free to reopen if you are still having trouble getting it working.

from helm-charts.

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.