Comments (6)
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.
I understand. Thanks @mouradmourafiq
from charts.
To prevent broken the API with who already are using this chart, perhaps just only add global.imageRegistry
and global.imagePullSecrets
.
from charts.
@brunowego can't this be done directly using the values on the config.yaml during the deployment time?
from charts.
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.
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)
- Should allow TLS in ingress HOT 2
- Failed to delete helm polyaxon HOT 1
- Hooks Postgres Password HOT 4
- Certificate error when running helm repo add HOT 1
- Error: requirements.lock is out of sync with requirements.yaml HOT 1
- Helm chart fails if tls is enabled HOT 1
- gitlab oauth HOT 1
- Can't install on 1.16.2 from master (with 1.16 fix) HOT 9
- Following the instructions on ReadME for experiment and job fails in yaml. HOT 1
- no matches for kind "Deployment" in version "extensions/v1beta1" HOT 2
- polyaxon-rabbitmq-ha-0 state is CrashLoopBackOff HOT 2
- ImagePullBackOff for in cluster Docker Registry HOT 1
- install polyaxon by using helm (offline) error
- CrashLoopBackOff polyaxon-redis-*-0 HOT 1
- Add ability to specify custom labels for pods. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.