Giter Site home page Giter Site logo

Comments (6)

mmourafiq avatar mmourafiq commented on September 15, 2024 1

I think this the right approach, may be to make it a bit simpler than a command line is to use yaml file. Doing this in the chart is just extra logic to maintain that does not yield too much benefit for most users, and it will be a bit confusing if the chart start using other subcharts that don't follow this convention.

from charts.

brunowego avatar brunowego commented on September 15, 2024 1

I understand. Thanks @mouradmourafiq

from charts.

brunowego avatar brunowego commented on September 15, 2024

To prevent broken the API with who already are using this chart, perhaps just only add global.imageRegistry and global.imagePullSecrets.

from charts.

mmourafiq avatar mmourafiq commented on September 15, 2024

@brunowego can't this be done directly using the values on the config.yaml during the deployment time?

from charts.

brunowego avatar brunowego commented on September 15, 2024

Yes! I'm using something like this:

helm install polyaxon/polyaxon \
  -n polyaxon \
  --namespace polyaxon \
  --set serviceType=ClusterIP \
  --set ingress.enabled=true \
  --set ingress.hostName=polyaxon.company.com \
  --set user.username=brunowego \
  --set [email protected] \
  --set user.password="$(openssl rand -hex 32)" \
  --timeout 900 \
  --wait \
  -f <(cat << EOF
api:
  image: registry.company.com:5001/polyaxon/polyaxon-api

streams:
  image: registry.company.com:5001/polyaxon/polyaxon-streams

scheduler:
  image: registry.company.com:5001/polyaxon/polyaxon-scheduler

hpsearch:
  image: registry.company.com:5001/polyaxon/polyaxon-hpsearch

eventsHandlers:
  image: registry.company.com:5001/polyaxon/polyaxon-events-handlers

k8sEventsHandlers:
  image: registry.company.com:5001/polyaxon/polyaxon-k8s-events-handlers

beat:
  image: registry.company.com:5001/polyaxon/polyaxon-beat

crons:
  image: registry.company.com:5001/polyaxon/polyaxon-crons

eventMonitors:
  namespace:
    image: registry.company.com:5001/polyaxon/polyaxon-monitor-namespace

  statuses:
    image: registry.company.com:5001/polyaxon/polyaxon-monitor-statuses

resourcesDaemon:
  image: registry.company.com:5001/polyaxon/polyaxon-monitor-resources

hooks:
  image: registry.company.com:5001/polyaxon/polyaxon-manage

tablesHook:
  image: registry.company.com:5001/polyaxon/polyaxon-tables

postgresql:
  image: registry.company.com:5001/library/postgres
  metrics:
    image: registry.company.com:5001/wrouesnel/postgres_exporter

redis:
  global:
    imageRegistry: registry.company.com:5001

rabbitmq-ha:
  image:
    repository: registry.company.com:5001/library/rabbitmq
  busyboxImage:
    repository: registry.company.com:5001/library/rabbitmq

docker-registry:
  image:
    repository: registry.company.com:5001/library/registry
EOF
)

from charts.

brunowego avatar brunowego commented on September 15, 2024

Or short way, only for polyaxon images:

helm install polyaxon/polyaxon \
  -n polyaxon \
  --namespace polyaxon \
  -f <(helm inspect values polyaxon/polyaxon | sed 's|repo/image|registry.company.com/repo/image|') \
  --set serviceType=ClusterIP \
  --set ingress.enabled=true \
  --set ingress.hostName=polyaxon.company.com \
  --set user.username=brunowego \
  --set [email protected] \
  --set user.password="$(openssl rand -hex 32)" \
  --timeout 900 \
  --wait

from charts.

Related Issues (16)

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.