Nova: NoVNCProxy Ingress
This PS adds ingress rules and config for nova's novncproxy. Change-Id: Ibc89e67c8ee6c93d8ee3e798dec10e976c002cab
This commit is contained in:
parent
176af9edf2
commit
0fccc9a9a3
20
nova/templates/ingress-novncproxy.yaml
Normal file
20
nova/templates/ingress-novncproxy.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{{/*
|
||||||
|
Copyright 2017 The Openstack-Helm Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/}}
|
||||||
|
|
||||||
|
{{- if and .Values.manifests.ingress_novncproxy .Values.network.novncproxy.ingress.public }}
|
||||||
|
{{- $ingressOpts := dict "envAll" . "backendService" "novncproxy" "backendServiceType" "compute_novnc_proxy" "backendPort" "n-novnc" -}}
|
||||||
|
{{ $ingressOpts | include "helm-toolkit.manifests.ingress" }}
|
||||||
|
{{- end }}
|
20
nova/templates/service-ingress-novncproxy.yaml
Normal file
20
nova/templates/service-ingress-novncproxy.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{{/*
|
||||||
|
Copyright 2017 The Openstack-Helm Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/}}
|
||||||
|
|
||||||
|
{{- if and .Values.manifests.service_ingress_novncproxy .Values.network.novncproxy.ingress.public }}
|
||||||
|
{{- $serviceIngressOpts := dict "envAll" . "backendServiceType" "compute_novnc_proxy" -}}
|
||||||
|
{{ $serviceIngressOpts | include "helm-toolkit.manifests.service_ingress" }}
|
||||||
|
{{- end }}
|
@ -168,6 +168,13 @@ network:
|
|||||||
enabled: false
|
enabled: false
|
||||||
port: 30778
|
port: 30778
|
||||||
novncproxy:
|
novncproxy:
|
||||||
|
ingress:
|
||||||
|
public: true
|
||||||
|
classes:
|
||||||
|
namespace: "nginx"
|
||||||
|
cluster: "nginx-cluster"
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
node_port:
|
node_port:
|
||||||
enabled: false
|
enabled: false
|
||||||
port: 30680
|
port: 30680
|
||||||
@ -1293,6 +1300,7 @@ endpoints:
|
|||||||
name: nova
|
name: nova
|
||||||
hosts:
|
hosts:
|
||||||
default: nova-novncproxy
|
default: nova-novncproxy
|
||||||
|
public: novncproxy
|
||||||
host_fqdn_override:
|
host_fqdn_override:
|
||||||
default: null
|
default: null
|
||||||
path:
|
path:
|
||||||
@ -1302,10 +1310,12 @@ endpoints:
|
|||||||
port:
|
port:
|
||||||
novnc_proxy:
|
novnc_proxy:
|
||||||
default: 6080
|
default: 6080
|
||||||
|
public: 80
|
||||||
compute_spice_proxy:
|
compute_spice_proxy:
|
||||||
name: nova
|
name: nova
|
||||||
hosts:
|
hosts:
|
||||||
default: nova-spiceproxy
|
default: nova-spiceproxy
|
||||||
|
public: placement
|
||||||
host_fqdn_override:
|
host_fqdn_override:
|
||||||
default: null
|
default: null
|
||||||
path:
|
path:
|
||||||
@ -1610,6 +1620,7 @@ manifests:
|
|||||||
deployment_spiceproxy: true
|
deployment_spiceproxy: true
|
||||||
deployment_scheduler: true
|
deployment_scheduler: true
|
||||||
ingress_metadata: true
|
ingress_metadata: true
|
||||||
|
ingress_novncproxy: true
|
||||||
ingress_placement: true
|
ingress_placement: true
|
||||||
ingress_osapi: true
|
ingress_osapi: true
|
||||||
job_bootstrap: true
|
job_bootstrap: true
|
||||||
@ -1635,6 +1646,7 @@ manifests:
|
|||||||
secret_keystone_placement: true
|
secret_keystone_placement: true
|
||||||
secret_rabbitmq: true
|
secret_rabbitmq: true
|
||||||
service_ingress_metadata: true
|
service_ingress_metadata: true
|
||||||
|
service_ingress_novncproxy: true
|
||||||
service_ingress_placement: true
|
service_ingress_placement: true
|
||||||
service_ingress_osapi: true
|
service_ingress_osapi: true
|
||||||
service_metadata: true
|
service_metadata: true
|
||||||
|
Loading…
Reference in New Issue
Block a user