You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "fsellecchia (via GitHub)" <gi...@apache.org> on 2023/04/18 20:20:40 UTC

[GitHub] [airflow] fsellecchia opened a new issue, #30722: Ability to set automountServiceAccountToken in values.yaml

fsellecchia opened a new issue, #30722:
URL: https://github.com/apache/airflow/issues/30722

   ### Official Helm Chart version
   
   1.6.0
   
   ### Apache Airflow version
   
   2.3.0
   
   ### Kubernetes Version
   
   1.24
   
   ### Helm Chart configuration
   
   ```
   serviceAccount:
       # Specifies whether a ServiceAccount should be created
       create: true
       # The name of the ServiceAccount to use.
       # If not set and create is true, a name is generated using the release name
       name: ~
      
       automountServiceAccountToken: false
   
       # Annotations to add to webserver kubernetes service account.
       annotations: {}
   ```
   
   
   ### Docker Image customizations
   
   No Modifications
   
   ### What happened
   
   I'm trying to disable the serviceaccounttoken using this flag `automountServiceAccountToken: false` in my values.yaml, but the value is not considered in the template then the token is still active. 
   As far as I understand disable the token is a good practice in case that is not needed.
   For example, automountServiceAccountToken is not referenced [here](https://github.com/apache/airflow/blob/main/chart/templates/webserver/webserver-serviceaccount.yaml) for webserver 
   
   
   ### What you think should happen instead
   
   add a parametrization for automountServiceAccountToken so we can enable/disable it from values.yaml
   
   ### How to reproduce
   
   Just try to add a the `automountServiceAccountToken: false` parameter on your values.yaml and check that it is not being considered when the service account and the pod is created.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] amoghrajesh commented on issue #30722: Ability to set automountServiceAccountToken in values.yaml

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on issue #30722:
URL: https://github.com/apache/airflow/issues/30722#issuecomment-1617696512

   @hussein-awala I see that this PR has gone stale. Can I re work this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] fsellecchia commented on issue #30722: Ability to set automountServiceAccountToken in values.yaml

Posted by "fsellecchia (via GitHub)" <gi...@apache.org>.
fsellecchia commented on issue #30722:
URL: https://github.com/apache/airflow/issues/30722#issuecomment-1618350707

   Hi @amoghrajesh, I'm ok with that. Unfortunately I'be been busy in the last months so I was not able to work on this. Here is the PR https://github.com/apache/airflow/pull/30759 I've working on. Feel free to take it.
   
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #30722: Ability to set automountServiceAccountToken in values.yaml

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #30722:
URL: https://github.com/apache/airflow/issues/30722#issuecomment-1513748423

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] vincbeck closed issue #30722: Ability to set automountServiceAccountToken in values.yaml

Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck closed issue #30722: Ability to set automountServiceAccountToken in values.yaml
URL: https://github.com/apache/airflow/issues/30722


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] hussein-awala commented on issue #30722: Ability to set automountServiceAccountToken in values.yaml

Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala commented on issue #30722:
URL: https://github.com/apache/airflow/issues/30722#issuecomment-1515429539

   @fsellecchia assigned you, you can open a PR to fix the problem


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org