Nova: Fix metadata deps
This PS fixes the nova metadata deps to permit operation without and ingress controller and prevent a circular dep chain. Change-Id: I265d488e8024967685c5587d7a7cd24281011f3b Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
c9f425f269
commit
5ccd3a9e95
@ -21,7 +21,7 @@ limitations under the License.
|
|||||||
{{- $mounts_nova_api_metadata_init := .Values.pod.mounts.nova_api_metadata.init_container }}
|
{{- $mounts_nova_api_metadata_init := .Values.pod.mounts.nova_api_metadata.init_container }}
|
||||||
|
|
||||||
{{- $serviceAccountName := "nova-api-metadata" }}
|
{{- $serviceAccountName := "nova-api-metadata" }}
|
||||||
{{ tuple $envAll "api" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
|
{{ tuple $envAll "api_metadata" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@ -54,7 +54,7 @@ spec:
|
|||||||
{{ .Values.labels.api_metadata.node_selector_key }}: {{ .Values.labels.api_metadata.node_selector_value }}
|
{{ .Values.labels.api_metadata.node_selector_key }}: {{ .Values.labels.api_metadata.node_selector_value }}
|
||||||
terminationGracePeriodSeconds: {{ .Values.pod.lifecycle.termination_grace_period.metadata.timeout | default "30" }}
|
terminationGracePeriodSeconds: {{ .Values.pod.lifecycle.termination_grace_period.metadata.timeout | default "30" }}
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ tuple $envAll "api" $mounts_nova_api_metadata_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
{{ tuple $envAll "api_metadata" $mounts_nova_api_metadata_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}
|
||||||
- name: nova-api-metadata-init
|
- name: nova-api-metadata-init
|
||||||
{{ tuple $envAll "nova_api" | include "helm-toolkit.snippets.image" | indent 10 }}
|
{{ tuple $envAll "nova_api" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||||
{{ tuple $envAll $envAll.Values.pod.resources.api_metadata | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.api_metadata | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
|
@ -260,8 +260,19 @@ dependencies:
|
|||||||
service: oslo_db
|
service: oslo_db
|
||||||
- endpoint: internal
|
- endpoint: internal
|
||||||
service: identity
|
service: identity
|
||||||
- endpoint: public
|
api_metadata:
|
||||||
service: compute_metadata
|
jobs:
|
||||||
|
- nova-db-sync
|
||||||
|
- nova-ks-user
|
||||||
|
- nova-ks-endpoints
|
||||||
|
- nova-rabbit-init
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_messaging
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
- endpoint: internal
|
||||||
|
service: identity
|
||||||
bootstrap:
|
bootstrap:
|
||||||
services:
|
services:
|
||||||
- endpoint: internal
|
- endpoint: internal
|
||||||
@ -317,6 +328,8 @@ dependencies:
|
|||||||
service: compute
|
service: compute
|
||||||
- endpoint: internal
|
- endpoint: internal
|
||||||
service: network
|
service: network
|
||||||
|
- endpoint: internal
|
||||||
|
service: compute_metadata
|
||||||
compute_ironic:
|
compute_ironic:
|
||||||
jobs:
|
jobs:
|
||||||
- nova-db-sync
|
- nova-db-sync
|
||||||
@ -423,6 +436,8 @@ dependencies:
|
|||||||
service: compute
|
service: compute
|
||||||
- endpoint: internal
|
- endpoint: internal
|
||||||
service: network
|
service: network
|
||||||
|
- endpoint: internal
|
||||||
|
service: compute_metadata
|
||||||
image_repo_sync:
|
image_repo_sync:
|
||||||
services:
|
services:
|
||||||
- endpoint: internal
|
- endpoint: internal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user