You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/13 06:36:39 UTC

[GitHub] [airflow] dstandish opened a new issue #18933: Bad ownership metadata error for ingress when upgrading from chart version 1.1.0 to 1.2.0

dstandish opened a new issue #18933:
URL: https://github.com/apache/airflow/issues/18933


   ### Official Helm Chart version
   
   1.2.0 (latest released)
   
   ### Apache Airflow version
   
   2.1.4 (latest released)
   
   ### Kubernetes Version
   
   20
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customisations
   
   _No response_
   
   ### What happened
   
   I tried switching to 1.2.0 from 1.1.0
   
   Got this error:
   
   ```
   Error: UPGRADE FAILED: rendered manifests contain a resource that already exists. Unable to continue with update: Ingress "airflow-staging-airflow-ingress" in namespace "airflow-staging" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "airflow-staging"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "airflow-staging"
   ```
   
   
   ### What you expected to happen
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Anything else
   
   Wondering if we should be populating these automatically?
   
   ```
         app.kubernetes.io/managed-by: "Helm"
         meta.helm.sh/release-name: {{ .Release.Name }}
         meta.helm.sh/release-namespace: {{ .Release.Namespace }}
   ```
   
   
   ### 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

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



[GitHub] [airflow] dstandish closed issue #18933: Bad ownership metadata error for ingress when upgrading from chart version 1.1.0 to 1.2.0

Posted by GitBox <gi...@apache.org>.
dstandish closed issue #18933:
URL: https://github.com/apache/airflow/issues/18933


   


-- 
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] dstandish closed issue #18933: Bad ownership metadata error for ingress when upgrading from chart version 1.1.0 to 1.2.0

Posted by GitBox <gi...@apache.org>.
dstandish closed issue #18933:
URL: https://github.com/apache/airflow/issues/18933


   


-- 
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] dstandish commented on issue #18933: Bad ownership metadata error for ingress when upgrading from chart version 1.1.0 to 1.2.0

Posted by GitBox <gi...@apache.org>.
dstandish commented on issue #18933:
URL: https://github.com/apache/airflow/issues/18933#issuecomment-941978084


   hmm... looks like this might just be something weird with my deployment ... the prod instance already has these annotations...


-- 
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] dstandish commented on issue #18933: Bad ownership metadata error for ingress when upgrading from chart version 1.1.0 to 1.2.0

Posted by GitBox <gi...@apache.org>.
dstandish commented on issue #18933:
URL: https://github.com/apache/airflow/issues/18933#issuecomment-941978084


   hmm... looks like this might just be something weird with my deployment ... the prod instance already has these annotations...


-- 
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