Merge "Distinguish between port number of internal endpoint and binding port number in nova"
This commit is contained in:
commit
b75c7ebf98
@ -14,7 +14,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Nova
|
description: OpenStack-Helm Nova
|
||||||
name: nova
|
name: nova
|
||||||
version: 0.2.43
|
version: 0.2.44
|
||||||
home: https://docs.openstack.org/nova/latest/
|
home: https://docs.openstack.org/nova/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -241,7 +241,7 @@ limitations under the License.
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if empty .Values.conf.nova.DEFAULT.osapi_compute_listen_port -}}
|
{{- if empty .Values.conf.nova.DEFAULT.osapi_compute_listen_port -}}
|
||||||
{{- $_ := tuple "compute" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | set .Values.conf.nova.DEFAULT "osapi_compute_listen_port" -}}
|
{{- $_ := tuple "compute" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | set .Values.conf.nova.DEFAULT "osapi_compute_listen_port" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if and (empty .Values.conf.logging.handler_fluent) (has "fluent" .Values.conf.logging.handlers.keys) -}}
|
{{- if and (empty .Values.conf.logging.handler_fluent) (has "fluent" .Values.conf.logging.handlers.keys) -}}
|
||||||
|
@ -14,12 +14,12 @@ limitations under the License.
|
|||||||
|
|
||||||
{{- define "novaApiOsapiLivenessProbeTemplate" }}
|
{{- define "novaApiOsapiLivenessProbeTemplate" }}
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: {{ tuple "compute" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
port: {{ tuple "compute" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- define "novaApiOsapiReadinessProbeTemplate" }}
|
{{- define "novaApiOsapiReadinessProbeTemplate" }}
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: {{ tuple "compute" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
port: {{ tuple "compute" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.manifests.deployment_api_osapi }}
|
{{- if .Values.manifests.deployment_api_osapi }}
|
||||||
@ -88,7 +88,7 @@ spec:
|
|||||||
- stop
|
- stop
|
||||||
ports:
|
ports:
|
||||||
- name: n-api
|
- name: n-api
|
||||||
containerPort: {{ tuple "compute" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
containerPort: {{ tuple "compute" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
{{ dict "envAll" $envAll "component" "api-osapi" "container" "default" "type" "liveness" "probeTemplate" (include "novaApiOsapiLivenessProbeTemplate" $envAll | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
|
{{ dict "envAll" $envAll "component" "api-osapi" "container" "default" "type" "liveness" "probeTemplate" (include "novaApiOsapiLivenessProbeTemplate" $envAll | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
|
||||||
{{ dict "envAll" $envAll "component" "api-osapi" "container" "default" "type" "readiness" "probeTemplate" (include "novaApiOsapiReadinessProbeTemplate" $envAll | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
|
{{ dict "envAll" $envAll "component" "api-osapi" "container" "default" "type" "readiness" "probeTemplate" (include "novaApiOsapiReadinessProbeTemplate" $envAll | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
@ -22,7 +22,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: n-api
|
- name: n-api
|
||||||
port: {{ tuple "compute" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
port: {{ tuple "compute" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
{{ if .Values.network.osapi.node_port.enabled }}
|
{{ if .Values.network.osapi.node_port.enabled }}
|
||||||
nodePort: {{ .Values.network.osapi.node_port.port }}
|
nodePort: {{ .Values.network.osapi.node_port.port }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1792,10 +1792,12 @@ endpoints:
|
|||||||
default: "/v2.1/%(tenant_id)s"
|
default: "/v2.1/%(tenant_id)s"
|
||||||
scheme:
|
scheme:
|
||||||
default: 'http'
|
default: 'http'
|
||||||
|
service: 'http'
|
||||||
port:
|
port:
|
||||||
api:
|
api:
|
||||||
default: 8774
|
default: 8774
|
||||||
public: 80
|
public: 80
|
||||||
|
service: 8774
|
||||||
novncproxy:
|
novncproxy:
|
||||||
default: 6080
|
default: 6080
|
||||||
compute_metadata:
|
compute_metadata:
|
||||||
@ -1863,10 +1865,12 @@ endpoints:
|
|||||||
default: /
|
default: /
|
||||||
scheme:
|
scheme:
|
||||||
default: 'http'
|
default: 'http'
|
||||||
|
service: 'http'
|
||||||
port:
|
port:
|
||||||
api:
|
api:
|
||||||
default: 8778
|
default: 8778
|
||||||
public: 80
|
public: 80
|
||||||
|
service: 8778
|
||||||
network:
|
network:
|
||||||
name: neutron
|
name: neutron
|
||||||
hosts:
|
hosts:
|
||||||
|
@ -64,4 +64,5 @@ nova:
|
|||||||
- 0.2.41 Add Xena and Yoga values overrides
|
- 0.2.41 Add Xena and Yoga values overrides
|
||||||
- 0.2.42 Add missing configuration ``[vnc]/novncproxy_host``
|
- 0.2.42 Add missing configuration ``[vnc]/novncproxy_host``
|
||||||
- 0.2.43 Added OCI registry authentication
|
- 0.2.43 Added OCI registry authentication
|
||||||
|
- 0.2.44 Distinguish between port number of internal endpoint and binding port number
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user