|
1848 | 1848 | } |
1849 | 1849 | }, |
1850 | 1850 | "serviceAccount": { |
1851 | | - "description": "Create ServiceAccount for Airflow Celery workers and pods created with pod-template-file.", |
| 1851 | + "description": "Create ServiceAccount for Airflow Celery workers and pods created with pod-template-file (deprecated, use ``workers.celery.serviceAccount`` and/or ``workers.kubernetes.serviceAccount`` instead).", |
1852 | 1852 | "type": "object", |
1853 | 1853 | "properties": { |
1854 | 1854 | "automountServiceAccountToken": { |
1855 | | - "description": "Specifies if ServiceAccount's API credentials should be mounted onto Pods", |
| 1855 | + "description": "Specifies if ServiceAccount's API credentials should be mounted onto Pods (deprecated, use ``workers.celery.serviceAccount.automountServiceAccountToken`` and/or ``workers.kubernetes.serviceAccount.automountServiceAccountToken`` instead)", |
1856 | 1856 | "type": "boolean", |
1857 | 1857 | "default": true |
1858 | 1858 | }, |
1859 | 1859 | "create": { |
1860 | | - "description": "Specifies whether a ServiceAccount should be created.", |
| 1860 | + "description": "Specifies whether a ServiceAccount should be created (deprecated, use ``workers.celery.serviceAccount.create`` and/or ``workers.kubernetes.serviceAccount.create`` instead).", |
1861 | 1861 | "type": "boolean", |
1862 | 1862 | "default": true |
1863 | 1863 | }, |
1864 | 1864 | "name": { |
1865 | | - "description": "The name of the ServiceAccount to use. If not set and create is true, a name is generated using the release name.", |
| 1865 | + "description": "The name of the ServiceAccount to use (deprecated, use ``workers.celery.serviceAccount.name`` and/or ``workers.kubernetes.serviceAccount.name`` instead). If not set and create is true, a name is generated using the release name.", |
1866 | 1866 | "type": [ |
1867 | 1867 | "string", |
1868 | 1868 | "null" |
1869 | 1869 | ], |
1870 | 1870 | "default": null |
1871 | 1871 | }, |
1872 | 1872 | "annotations": { |
1873 | | - "description": "Annotations to add to the worker Kubernetes ServiceAccount.", |
| 1873 | + "description": "Annotations to add to the worker Kubernetes ServiceAccount (deprecated, use ``workers.celery.serviceAccount.annotations`` and/or ``workers.kubernetes.serviceAccount.annotations`` instead).", |
1874 | 1874 | "type": "object", |
1875 | 1875 | "default": {}, |
1876 | 1876 | "additionalProperties": { |
|
2921 | 2921 | } |
2922 | 2922 | } |
2923 | 2923 | }, |
| 2924 | + "serviceAccount": { |
| 2925 | + "description": "Create ServiceAccount for Airflow Celery workers.", |
| 2926 | + "type": "object", |
| 2927 | + "properties": { |
| 2928 | + "automountServiceAccountToken": { |
| 2929 | + "description": "Specifies if ServiceAccount's API credentials should be mounted onto Pods.", |
| 2930 | + "type": [ |
| 2931 | + "boolean", |
| 2932 | + "null" |
| 2933 | + ], |
| 2934 | + "default": null |
| 2935 | + }, |
| 2936 | + "create": { |
| 2937 | + "description": "Specifies whether a ServiceAccount should be created.", |
| 2938 | + "type": [ |
| 2939 | + "boolean", |
| 2940 | + "null" |
| 2941 | + ], |
| 2942 | + "default": null |
| 2943 | + }, |
| 2944 | + "name": { |
| 2945 | + "description": "The name of the ServiceAccount to use. If not set and create is true, a name is generated using the release name.", |
| 2946 | + "type": [ |
| 2947 | + "string", |
| 2948 | + "null" |
| 2949 | + ], |
| 2950 | + "default": null |
| 2951 | + }, |
| 2952 | + "annotations": { |
| 2953 | + "description": "Annotations to add to the worker Kubernetes ServiceAccount.", |
| 2954 | + "type": "object", |
| 2955 | + "default": {}, |
| 2956 | + "additionalProperties": { |
| 2957 | + "type": "string" |
| 2958 | + } |
| 2959 | + } |
| 2960 | + } |
| 2961 | + }, |
2924 | 2962 | "keda": { |
2925 | 2963 | "description": "KEDA configuration of Airflow Celery workers.", |
2926 | 2964 | "type": "object", |
|
3534 | 3572 | } |
3535 | 3573 | ] |
3536 | 3574 | }, |
| 3575 | + "serviceAccount": { |
| 3576 | + "description": "Create ServiceAccount for pods created with pod-template-file. When this section is specified, the Service Account is created from ``templates/workers/worker-kubernetes-serviceaccount.yaml`` file.", |
| 3577 | + "type": "object", |
| 3578 | + "properties": { |
| 3579 | + "automountServiceAccountToken": { |
| 3580 | + "description": "Specifies if ServiceAccount's API credentials should be mounted onto Pods. If not specified, the ``workers.serviceAccount.automountServiceAccountToken`` value will be taken.", |
| 3581 | + "type": [ |
| 3582 | + "boolean", |
| 3583 | + "null" |
| 3584 | + ], |
| 3585 | + "default": null |
| 3586 | + }, |
| 3587 | + "create": { |
| 3588 | + "description": "Specifies whether a ServiceAccount should be created. If not specified, the ServiceAccount will be generated and used from ``templates/workers/worker-serviceaccount.yaml`` file if ``workers.serviceAccount.create`` will be 'true'.", |
| 3589 | + "type": [ |
| 3590 | + "boolean", |
| 3591 | + "null" |
| 3592 | + ], |
| 3593 | + "default": null |
| 3594 | + }, |
| 3595 | + "name": { |
| 3596 | + "description": "The name of the ServiceAccount to use. If not set and ``create`` is 'true', a name is generated using the release name with kubernetes dedicated name.", |
| 3597 | + "type": [ |
| 3598 | + "string", |
| 3599 | + "null" |
| 3600 | + ], |
| 3601 | + "default": null |
| 3602 | + }, |
| 3603 | + "annotations": { |
| 3604 | + "description": "Annotations to add to the worker Kubernetes ServiceAccount. If not specified, the ``workers.serviceAccount.annotations`` value will be taken.", |
| 3605 | + "type": "object", |
| 3606 | + "default": {}, |
| 3607 | + "additionalProperties": { |
| 3608 | + "type": "string" |
| 3609 | + } |
| 3610 | + } |
| 3611 | + } |
| 3612 | + }, |
3537 | 3613 | "kerberosSidecar": { |
3538 | 3614 | "description": "Kerberos sidecar for pods created with pod-template-file.", |
3539 | 3615 | "type": "object", |
|
0 commit comments