Comments (6)
I'm not sure where we'd place anything in docs where folks would find it when they hit it. I also think the schema check provides a decent error message now. I'm not sure we should do anything for this. Maybe now search engines will find this issue if folks look that way 🤷.
from airflow-chart.
Interesting edge case! I was able to reproduce this almost 3 years later:
$ helm template . --set airflow.images.airflow.tag=5060547 | grep ap-airflow
Error: values don't meet the specifications of the schema(s) in the following chart(s):
airflow:
- images.airflow.tag: Invalid type. Expected: [string,null], given: integer
Thanks for the report @dwiajik and I am sorry for getting back to you so late! I just realized I was not watching all activity on this repository 🤦♂️
I've opened an internal ticket to track this https://github.com/astronomer/issues/issues/6148
from airflow-chart.
This is actually a problem with the OSS airflow chart. I have expanded airflow-chart 1.11.1 and run:
$ helm template . --set images.airflow.tag=5060547
Error: values don't meet the specifications of the schema(s) in the following chart(s):
airflow:
- images.airflow.tag: Invalid type. Expected: [string,null], given: integer
I also made a branch with tests showing the problem. https://github.com/astronomer/airflow-chart/tree/6148-integer-docker-tags
from airflow-chart.
I found the fix for the shell. --set-string images.airflow.tag=5060547
It seems like we should be using this in all cases, so we can fix that on our end. I can't imagine a place where we'd want input value to be interpreted as an integer. This is definitely a limitation of the shell's dynamic typing and helm's implementation that attempts to add types. It seems unintuitive to me.
from airflow-chart.
I think there's probably not a bug here. With yaml, the values should be specified as strings, because that's what they are, so something like:
airflow:
images:
airflow:
tag: "5060547"
And on the CLI users should be using --set-string
, because the data they are giving is a string, not an integer.
Other than that, the only thing I can think of to do is educate people on how helm handles types.
from airflow-chart.
@jedcunningham I agree. I think we can close this. @dwiajik if you want to respond about this in the thread feel free, though since I took so long to respond I would not be surprised if it's not relevant anymore. I'm going to go ahead and close this one for now.
from airflow-chart.
Related Issues (20)
- Spark binaries HOT 1
- Default ImagePullPolicy
- No gitSync config in values.yml HOT 1
- Astronomer maintenance of this repo? HOT 3
- Please update airflow version to 1.10.14 by default HOT 1
- If use 1.10.14-buster error alembic.script.revision.ResolutionError: No such revision or branch 'e959f08ac86c' HOT 1
- Can not change webserver.defaultUser.password when install by helm HOT 1
- Use helm-doc to generate parameter table
- Using Google Cloud Storage remote logging HOT 1
- configmap sourced env values
- fernetKey when using airflow as dependency
- airflow command error: argument GROUP_OR_COMMAND: invalid choice: 'serve_logs' HOT 2
- Any helm upgrade with KEDA errors the scheduler HOT 1
- Syncing dags from multiple git-repos HOT 3
- Add imagePullSecret as a parameter to pull images from Private Container Registries HOT 1
- Help needed - additionalVolume not parsable by helm with version 0.25.8 HOT 1
- Unable to install chart "Deployment is not ready: airflow/airflow-scheduler" HOT 2
- Getting Airflow 404 = Lots of circles Error HOT 3
- Log Grooming script envvars 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 airflow-chart.