Changing all policies to yaml format
In the Victoria cycle oslo.policy decided to change all default policies to yaml format. Today on openstack-helm we have a mix of json and yaml on projects and, after having a bad time debugging policies that should have beeing mounted somewhere but was being mounted elsewhere, I'm proposing this change so we can unify the delivery method for all policies across components on yaml (that is supported for quite some time). This will also avoid having problems in the future as the services move from json to yaml. [1] https://specs.openstack.org/openstack/oslo-specs/specs/victoria/policy-json-to-yaml.html Signed-off-by: Thiago Brito <thiago.brito@windriver.com> Change-Id: Id170bf184e44fd77cd53929d474582022a5b6d4f
This commit is contained in:
parent
43b3d86811
commit
8ab6013409
@ -16,7 +16,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: Openstack-Helm Aodh
|
||||
name: aodh
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/aodh/latest/
|
||||
sources:
|
||||
- https://opendev.org/openstack/aodh
|
||||
|
@ -115,6 +115,6 @@ data:
|
||||
aodh.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.aodh | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{ include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.wsgi_aodh "key" "wsgi-aodh.conf" "format" "Secret" ) | indent 2 }}
|
||||
{{- end }}
|
||||
|
@ -97,8 +97,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: aodh-etc
|
||||
mountPath: /etc/aodh/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/aodh/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: aodh-etc
|
||||
mountPath: /etc/apache2/conf-enabled/wsgi-aodh.conf
|
||||
|
@ -84,8 +84,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: aodh-etc
|
||||
mountPath: /etc/aodh/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/aodh/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: aodh-bin
|
||||
mountPath: /tmp/aodh-evaluator.sh
|
||||
|
@ -84,8 +84,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: aodh-etc
|
||||
mountPath: /etc/aodh/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/aodh/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: aodh-bin
|
||||
mountPath: /tmp/aodh-listener.sh
|
||||
|
@ -84,8 +84,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: aodh-etc
|
||||
mountPath: /etc/aodh/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/aodh/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: aodh-bin
|
||||
mountPath: /tmp/aodh-notifier.sh
|
||||
|
@ -463,6 +463,8 @@ conf:
|
||||
log_config_append: /etc/aodh/logging.conf
|
||||
oslo_middleware:
|
||||
enable_proxy_headers_parsing: true
|
||||
oslo_policy:
|
||||
policy_file: /etc/aodh/policy.yaml
|
||||
database:
|
||||
alarm_history_time_to_live: 86400
|
||||
max_retries: -1
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Barbican
|
||||
name: barbican
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/barbican/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Barbican/OpenStack_Project_Barbican_vertical.png
|
||||
sources:
|
||||
|
@ -93,6 +93,6 @@ data:
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
barbican-api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
api_audit_map.conf: {{ include "helm-toolkit.utils.to_ini" .Values.conf.audit_map | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
barbican-api.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.barbican_api | b64enc }}
|
||||
{{- end }}
|
||||
|
@ -101,8 +101,8 @@ spec:
|
||||
subPath: barbican-api-paste.ini
|
||||
readOnly: true
|
||||
- name: barbican-etc
|
||||
mountPath: /etc/barbican/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/barbican/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: barbican-bin
|
||||
mountPath: /tmp/barbican.sh
|
||||
|
@ -464,6 +464,8 @@ conf:
|
||||
# NOTE(portdirect): the bind port should not be defined, and is manipulated
|
||||
# via the endpoints section.
|
||||
bind_port: null
|
||||
oslo_policy:
|
||||
policy_file: /etc/barbican/policy.yaml
|
||||
logging:
|
||||
loggers:
|
||||
keys:
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Ceilometer
|
||||
name: ceilometer
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/ceilometer/latest/
|
||||
sources:
|
||||
- https://opendev.org/openstack/ceilometer
|
||||
|
@ -117,7 +117,7 @@ data:
|
||||
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests | b64enc }}
|
||||
ceilometer.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.ceilometer | b64enc }}
|
||||
api_paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
api_audit_map.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.api_audit_map | b64enc }}
|
||||
event_pipeline.yaml: {{ toYaml .Values.conf.event_pipeline | b64enc }}
|
||||
pipeline.yaml: {{ toYaml .Values.conf.pipeline | b64enc }}
|
||||
|
@ -73,8 +73,8 @@ spec:
|
||||
subPath: api_paste.ini
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ceilometer/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/event_definitions.yaml
|
||||
|
@ -75,8 +75,8 @@ spec:
|
||||
subPath: api_paste.ini
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ceilometer/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/event_definitions.yaml
|
||||
|
@ -85,8 +85,8 @@ spec:
|
||||
subPath: api_paste.ini
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ceilometer/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/api_audit_map.conf
|
||||
|
@ -71,8 +71,8 @@ spec:
|
||||
subPath: api_paste.ini
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ceilometer/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/event_definitions.yaml
|
||||
|
@ -71,8 +71,8 @@ spec:
|
||||
subPath: api_paste.ini
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ceilometer/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/event_definitions.yaml
|
||||
|
@ -71,8 +71,8 @@ spec:
|
||||
subPath: api_paste.ini
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ceilometer/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: ceilometer-etc
|
||||
mountPath: /etc/ceilometer/event_definitions.yaml
|
||||
|
@ -208,6 +208,8 @@ conf:
|
||||
topics:
|
||||
- notifications
|
||||
- profiler
|
||||
oslo_policy:
|
||||
policy_file: /etc/ceilometer/policy.yaml
|
||||
cache:
|
||||
enabled: true
|
||||
backend: dogpile.cache.memcached
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Designate
|
||||
name: designate
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/designate/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Designate/OpenStack_Project_Designate_vertical.jpg
|
||||
sources:
|
||||
|
@ -74,7 +74,7 @@ type: Opaque
|
||||
data:
|
||||
designate.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.designate | b64enc }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.pools "key" "pools.yaml" "format" "Secret" ) | indent 2 }}
|
||||
|
||||
|
@ -87,8 +87,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: designate-etc
|
||||
mountPath: /etc/designate/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/designate/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- if .Values.conf.designate.DEFAULT.log_config_append }}
|
||||
- name: designate-etc
|
||||
|
@ -74,8 +74,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: designate-etc
|
||||
mountPath: /etc/designate/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/designate/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- if .Values.conf.designate.DEFAULT.log_config_append }}
|
||||
- name: designate-etc
|
||||
|
@ -85,8 +85,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: designate-etc
|
||||
mountPath: /etc/designate/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/designate/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- if .Values.conf.designate.DEFAULT.log_config_append }}
|
||||
- name: designate-etc
|
||||
|
@ -74,8 +74,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: designate-etc
|
||||
mountPath: /etc/designate/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/designate/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- if .Values.conf.designate.DEFAULT.log_config_append }}
|
||||
- name: designate-etc
|
||||
|
@ -70,8 +70,8 @@ spec:
|
||||
subPath: designate.conf
|
||||
readOnly: true
|
||||
- name: designate-etc
|
||||
mountPath: /etc/designate/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/designate/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- if .Values.conf.designate.DEFAULT.log_config_append }}
|
||||
- name: designate-etc
|
||||
|
@ -99,8 +99,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: designate-etc
|
||||
mountPath: /etc/designate/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/designate/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- if .Values.conf.designate.DEFAULT.log_config_append }}
|
||||
- name: designate-etc
|
||||
|
@ -562,6 +562,8 @@ conf:
|
||||
notify: false
|
||||
oslo_middleware:
|
||||
enable_proxy_headers_parsing: true
|
||||
oslo_policy:
|
||||
policy_file: /etc/designate/policy.yaml
|
||||
database:
|
||||
max_retries: -1
|
||||
storage:sqlalchemy:
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Glance
|
||||
name: glance
|
||||
version: 0.2.2
|
||||
version: 0.2.3
|
||||
home: https://docs.openstack.org/glance/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
|
||||
sources:
|
||||
|
@ -195,7 +195,7 @@ data:
|
||||
glance-api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
glance-registry.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.glance_registry | b64enc }}
|
||||
glance-registry-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste_registry | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
api_audit_map.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.api_audit_map | b64enc }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" ( dict "envAll" $envAll "template" .Values.conf.swift_store "key" "swift-store.conf" "format" "Secret" ) | indent 2 }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" ( dict "envAll" $envAll "template" .Values.conf.nginx "key" "nginx.conf" "format" "Secret" ) | indent 2 }}
|
||||
|
@ -194,8 +194,8 @@ spec:
|
||||
subPath: glance-api-paste.ini
|
||||
readOnly: true
|
||||
- name: glance-etc
|
||||
mountPath: /etc/glance/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/glance/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: glance-etc
|
||||
mountPath: /etc/glance/api_audit_map.conf
|
||||
|
@ -105,8 +105,8 @@ spec:
|
||||
subPath: glance-registry-paste.ini
|
||||
readOnly: true
|
||||
- name: glance-etc
|
||||
mountPath: /etc/glance/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/glance/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.image_registry.api.internal "path" "/etc/glance/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }}
|
||||
{{- dict "enabled" .Values.manifests.certificates "name" .Values.endpoints.oslo_messaging.auth.admin.secret.tls.internal "path" "/etc/rabbitmq/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }}
|
||||
|
@ -284,6 +284,8 @@ conf:
|
||||
driver: messagingv2
|
||||
oslo_messaging_rabbit:
|
||||
rabbit_ha_queues: true
|
||||
oslo_policy:
|
||||
policy_file: /etc/glance/policy.yaml
|
||||
cors: {}
|
||||
logging:
|
||||
loggers:
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Heat
|
||||
name: heat
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
home: https://docs.openstack.org/heat/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Heat/OpenStack_Project_Heat_vertical.png
|
||||
sources:
|
||||
|
@ -140,7 +140,7 @@ data:
|
||||
heat.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.heat | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{- if .Values.manifests.certificates }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.mpm_event "key" "mpm_event.conf" "format" "Secret" ) | indent 2 }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.wsgi_heat "key" "wsgi-heat.conf" "format" "Secret" ) | indent 2 }}
|
||||
|
@ -104,8 +104,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/heat/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/api_audit_map.conf
|
||||
|
@ -104,8 +104,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/heat/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/api_audit_map.conf
|
||||
|
@ -97,8 +97,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/heat/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/api_audit_map.conf
|
||||
|
@ -96,8 +96,8 @@ spec:
|
||||
readOnly: true
|
||||
{{ end }}
|
||||
- name: heat-etc
|
||||
mountPath: /etc/heat/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/heat/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- dict "enabled" $envAll.Values.manifests.certificates "name" $envAll.Values.endpoints.oslo_db.auth.admin.secret.tls.internal "path" "/etc/mysql/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }}
|
||||
{{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.orchestration.api.internal "path" "/etc/heat/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }}
|
||||
|
@ -473,6 +473,8 @@ conf:
|
||||
enable_proxy_headers_parsing: true
|
||||
oslo_messaging_rabbit:
|
||||
rabbit_ha_queues: True
|
||||
oslo_policy:
|
||||
policy_file: /etc/heat/policy.yaml
|
||||
api_audit_map:
|
||||
DEFAULT:
|
||||
target_endpoint_type: None
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Horizon
|
||||
name: horizon
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
home: https://docs.openstack.org/horizon/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
|
||||
sources:
|
||||
|
@ -27,6 +27,6 @@ data:
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.horizon.security "key" "security.conf" "format" "Secret" ) | indent 2 }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.conf.horizon.policy }}
|
||||
{{ printf "%s_policy.json" $key }}: {{ $value | toPrettyJson | b64enc }}
|
||||
{{ printf "%s_policy.yaml" $key }}: {{ $value | toPrettyJson | b64enc }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@ -123,7 +123,7 @@ spec:
|
||||
subPath: local_settings
|
||||
readOnly: true
|
||||
{{- range $key, $value := $envAll.Values.conf.horizon.policy }}
|
||||
{{- $policyFile := printf "/etc/openstack-dashboard/%s_policy.json" $key }}
|
||||
{{- $policyFile := printf "/etc/openstack-dashboard/%s_policy.yaml" $key }}
|
||||
- name: horizon-etc
|
||||
mountPath: {{ $policyFile }}
|
||||
subPath: {{ base $policyFile }}
|
||||
|
@ -631,17 +631,17 @@ conf:
|
||||
# OpenStack services are using to determine role based access control in the
|
||||
# target installation.
|
||||
|
||||
# Path to directory containing policy.json files
|
||||
# Path to directory containing policy.yaml files
|
||||
POLICY_FILES_PATH = '/etc/openstack-dashboard'
|
||||
# Map of local copy of service policy files
|
||||
#POLICY_FILES = {
|
||||
# 'identity': 'keystone_policy.json',
|
||||
# 'compute': 'nova_policy.json',
|
||||
# 'volume': 'cinder_policy.json',
|
||||
# 'image': 'glance_policy.json',
|
||||
# 'orchestration': 'heat_policy.json',
|
||||
# 'network': 'neutron_policy.json',
|
||||
# 'telemetry': 'ceilometer_policy.json',
|
||||
# 'identity': 'keystone_policy.yaml',
|
||||
# 'compute': 'nova_policy.yaml',
|
||||
# 'volume': 'cinder_policy.yaml',
|
||||
# 'image': 'glance_policy.yaml',
|
||||
# 'orchestration': 'heat_policy.yaml',
|
||||
# 'network': 'neutron_policy.yaml',
|
||||
# 'telemetry': 'ceilometer_policy.yaml',
|
||||
#}
|
||||
|
||||
# Trove user and database extension support. By default support for
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Ironic
|
||||
name: ironic
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/ironic/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Ironic/OpenStack_Project_Ironic_vertical.png
|
||||
sources:
|
||||
|
@ -203,7 +203,7 @@ type: Opaque
|
||||
data:
|
||||
ironic.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.ironic | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.tftp_map_file "key" "tftp-map-file" "format" "Secret" ) | indent 2 }}
|
||||
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.nginx "key" "nginx.conf" "format" "Secret" ) | indent 2 }}
|
||||
{{- end }}
|
||||
|
@ -131,8 +131,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: ironic-etc
|
||||
mountPath: /etc/ironic/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ironic/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: pod-shared
|
||||
mountPath: /tmp/pod-shared
|
||||
|
@ -181,8 +181,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: ironic-etc
|
||||
mountPath: /etc/ironic/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/ironic/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: host-var-lib-ironic
|
||||
mountPath: /var/lib/ironic
|
||||
|
@ -136,6 +136,8 @@ conf:
|
||||
auth_type: password
|
||||
swift:
|
||||
auth_url: null
|
||||
oslo_policy:
|
||||
policy_file: /etc/ironic/policy.yaml
|
||||
logging:
|
||||
loggers:
|
||||
keys:
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Keystone
|
||||
name: keystone
|
||||
version: 0.2.3
|
||||
version: 0.2.4
|
||||
home: https://docs.openstack.org/keystone/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
|
||||
sources:
|
||||
|
@ -54,7 +54,7 @@ data:
|
||||
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
|
||||
keystone.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.keystone | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.logging | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
access_rules.json: {{ toJson .Values.conf.access_rules | b64enc }}
|
||||
ports.conf: ''
|
||||
{{- range $k, $v := .Values.conf.ks_domains }}
|
||||
|
@ -106,8 +106,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: keystone-etc
|
||||
mountPath: /etc/keystone/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/keystone/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: keystone-etc
|
||||
mountPath: /etc/keystone/access_rules.json
|
||||
|
@ -551,6 +551,8 @@ conf:
|
||||
rabbit_ha_queues: true
|
||||
oslo_middleware:
|
||||
enable_proxy_headers_parsing: true
|
||||
oslo_policy:
|
||||
policy_file: /etc/keystone/policy.yaml
|
||||
security_compliance:
|
||||
# NOTE(vdrok): The following two options have effect only for SQL backend
|
||||
lockout_failure_attempts: 5
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Magnum
|
||||
name: magnum
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/magnum/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png
|
||||
sources:
|
||||
|
@ -93,5 +93,5 @@ data:
|
||||
magnum.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.magnum | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{- end }}
|
||||
|
@ -103,8 +103,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: magnum-etc
|
||||
mountPath: /etc/magnum/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/magnum/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: magnum-lock-path
|
||||
mountPath: {{ .Values.conf.magnum.oslo_concurrency.lock_path }}
|
||||
|
@ -99,8 +99,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: magnum-etc
|
||||
mountPath: /etc/magnum/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/magnum/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
- name: pod-shared
|
||||
mountPath: /tmp/pod-shared
|
||||
|
@ -119,6 +119,8 @@ conf:
|
||||
driver: messaging
|
||||
oslo_concurrency:
|
||||
lock_path: /var/lib/magnum/tmp
|
||||
oslo_policy:
|
||||
policy_file: /etc/magnum/policy.yaml
|
||||
certificates:
|
||||
cert_manager_type: barbican
|
||||
database:
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Mistral
|
||||
name: mistral
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/mistral/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Mistral/OpenStack_Project_Mistral_vertical.png
|
||||
sources:
|
||||
|
@ -83,7 +83,7 @@ data:
|
||||
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
|
||||
mistral.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.mistral | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{- range $key, $value := $envAll.Values.conf.rally_tests.templates }}
|
||||
{{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }}
|
||||
{{- end }}
|
||||
|
@ -93,8 +93,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: mistral-etc
|
||||
mountPath: /etc/mistral/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/mistral/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{ if $mounts_mistral_api.volumeMounts }}{{ toYaml $mounts_mistral_api.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
|
@ -468,6 +468,8 @@ conf:
|
||||
auth_type: password
|
||||
auth_version: v3
|
||||
memcache_security_strategy: ENCRYPT
|
||||
oslo_policy:
|
||||
policy_file: /etc/mistral/policy.yaml
|
||||
logging:
|
||||
loggers:
|
||||
keys:
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Neutron
|
||||
name: neutron
|
||||
version: 0.2.1
|
||||
version: 0.2.2
|
||||
home: https://docs.openstack.org/neutron/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
|
||||
sources:
|
||||
|
@ -251,7 +251,7 @@ type: Opaque
|
||||
data:
|
||||
rally_tests.yaml: {{ toYaml $envAll.Values.conf.rally_tests.tests | b64enc }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" $envAll.Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson $envAll.Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml $envAll.Values.conf.policy | b64enc }}
|
||||
neutron.conf: {{ include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.neutron | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
api_audit_map.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.api_audit_map | b64enc }}
|
||||
|
@ -234,8 +234,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: neutron-etc
|
||||
mountPath: /etc/neutron/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/neutron/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{- dict "enabled" .Values.manifests.certificates "name" .Values.endpoints.oslo_db.auth.admin.secret.tls.internal "path" "/etc/mysql/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }}
|
||||
{{- dict "enabled" .Values.manifests.certificates "name" .Values.secrets.tls.network.server.internal "path" "/etc/neutron/certs" | include "helm-toolkit.snippets.tls_volume_mount" | indent 12 }}
|
||||
|
@ -1906,6 +1906,8 @@ conf:
|
||||
rabbit_ha_queues: true
|
||||
oslo_middleware:
|
||||
enable_proxy_headers_parsing: true
|
||||
oslo_policy:
|
||||
policy_file: /etc/neutron/policy.yaml
|
||||
nova:
|
||||
auth_type: password
|
||||
auth_version: v3
|
||||
|
@ -3,3 +3,4 @@ aodh:
|
||||
- 0.1.0 Initial Chart
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -4,3 +4,4 @@ barbican:
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.1.2 Added post-install and post-upgrade helm hook for Jobs
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -3,3 +3,4 @@ ceilometer:
|
||||
- 0.1.0 Initial Chart
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -4,3 +4,4 @@ designate:
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.1.2 Added post-install and post-upgrade helm hooks on Jobs
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -12,3 +12,4 @@ glance:
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Fix the ceph pool creations for openstack services
|
||||
- 0.2.2 Adding rabbitmq TLS logic
|
||||
- 0.2.3 Use policies in yaml format
|
||||
|
@ -8,3 +8,4 @@ heat:
|
||||
- 0.1.5 Change Issuer to ClusterIssuer
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Adding rabbitmq TLS logic
|
||||
- 0.2.2 Use policies in yaml format
|
||||
|
@ -11,4 +11,5 @@ horizon:
|
||||
- 0.1.8 Implement "CSRF_COOKIE_HTTPONLY" option support in horizon
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Make python script PEP8 compliant
|
||||
- 0.2.2 Use policies in yaml format
|
||||
...
|
||||
|
@ -4,3 +4,4 @@ ironic:
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.1.2 Added post-install and post-upgrade helm.sh/hook for jobs
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -19,4 +19,5 @@ keystone:
|
||||
- 0.2.1 Remove paste ini config settings
|
||||
- 0.2.2 Make python script PEP8 compliant
|
||||
- 0.2.3 Adding rabbitmq TLS logic
|
||||
- 0.2.4 Use policies in yaml format
|
||||
...
|
||||
|
@ -4,3 +4,4 @@ magnum:
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.1.2 Added post-install and post-upgrade helm hook for jobs
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -4,3 +4,4 @@ mistral:
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.1.2 Added post-install and post-upgrade hook for Jobs
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -15,3 +15,4 @@ neutron:
|
||||
- 0.1.12 Removed "name" parameter from Rally tests
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Adding rabbitmq TLS logic
|
||||
- 0.2.2 Use policies in yaml format
|
||||
|
@ -3,3 +3,4 @@ senlin:
|
||||
- 0.1.0 Initial Chart
|
||||
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
|
||||
- 0.2.0 Remove support for releases before T
|
||||
- 0.2.1 Use policies in yaml format
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Senlin
|
||||
name: senlin
|
||||
version: 0.2.0
|
||||
version: 0.2.1
|
||||
home: https://docs.openstack.org/senlin/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Senlin/OpenStack_Project_Senlin_vertical.png
|
||||
sources:
|
||||
|
@ -104,5 +104,5 @@ data:
|
||||
senlin.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.senlin | b64enc }}
|
||||
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
|
||||
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
|
||||
policy.json: {{ toJson .Values.conf.policy | b64enc }}
|
||||
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
|
||||
{{- end }}
|
||||
|
@ -103,8 +103,8 @@ spec:
|
||||
subPath: api-paste.ini
|
||||
readOnly: true
|
||||
- name: senlin-etc
|
||||
mountPath: /etc/senlin/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/senlin/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{ if $mounts_senlin_api.volumeMounts }}{{ toYaml $mounts_senlin_api.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
|
@ -78,8 +78,8 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
- name: senlin-etc
|
||||
mountPath: /etc/senlin/policy.json
|
||||
subPath: policy.json
|
||||
mountPath: /etc/senlin/policy.yaml
|
||||
subPath: policy.yaml
|
||||
readOnly: true
|
||||
{{ if $mounts_senlin_engine.volumeMounts }}{{ toYaml $mounts_senlin_engine.volumeMounts | indent 12 }}{{ end }}
|
||||
volumes:
|
||||
|
@ -179,6 +179,8 @@ conf:
|
||||
# NOTE(portdirect): the bind port should not be defined, and is manipulated
|
||||
# via the endpoints section.
|
||||
bind_port: null
|
||||
oslo_policy:
|
||||
policy_file: /etc/senlin/policy.yaml
|
||||
logging:
|
||||
loggers:
|
||||
keys:
|
||||
|
Loading…
Reference in New Issue
Block a user