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:
Thiago Brito 2021-05-17 19:16:54 -03:00
parent 43b3d86811
commit 8ab6013409
85 changed files with 136 additions and 99 deletions

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: Openstack-Helm Aodh description: Openstack-Helm Aodh
name: aodh name: aodh
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/aodh/latest/ home: https://docs.openstack.org/aodh/latest/
sources: sources:
- https://opendev.org/openstack/aodh - https://opendev.org/openstack/aodh

View File

@ -115,6 +115,6 @@ data:
aodh.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.aodh | b64enc }} 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 }} 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 }} 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 }} {{ include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.wsgi_aodh "key" "wsgi-aodh.conf" "format" "Secret" ) | indent 2 }}
{{- end }} {{- end }}

View File

@ -97,8 +97,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: aodh-etc - name: aodh-etc
mountPath: /etc/aodh/policy.json mountPath: /etc/aodh/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: aodh-etc - name: aodh-etc
mountPath: /etc/apache2/conf-enabled/wsgi-aodh.conf mountPath: /etc/apache2/conf-enabled/wsgi-aodh.conf

View File

@ -84,8 +84,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: aodh-etc - name: aodh-etc
mountPath: /etc/aodh/policy.json mountPath: /etc/aodh/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: aodh-bin - name: aodh-bin
mountPath: /tmp/aodh-evaluator.sh mountPath: /tmp/aodh-evaluator.sh

View File

@ -84,8 +84,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: aodh-etc - name: aodh-etc
mountPath: /etc/aodh/policy.json mountPath: /etc/aodh/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: aodh-bin - name: aodh-bin
mountPath: /tmp/aodh-listener.sh mountPath: /tmp/aodh-listener.sh

View File

@ -84,8 +84,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: aodh-etc - name: aodh-etc
mountPath: /etc/aodh/policy.json mountPath: /etc/aodh/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: aodh-bin - name: aodh-bin
mountPath: /tmp/aodh-notifier.sh mountPath: /tmp/aodh-notifier.sh

View File

@ -463,6 +463,8 @@ conf:
log_config_append: /etc/aodh/logging.conf log_config_append: /etc/aodh/logging.conf
oslo_middleware: oslo_middleware:
enable_proxy_headers_parsing: true enable_proxy_headers_parsing: true
oslo_policy:
policy_file: /etc/aodh/policy.yaml
database: database:
alarm_history_time_to_live: 86400 alarm_history_time_to_live: 86400
max_retries: -1 max_retries: -1

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Barbican description: OpenStack-Helm Barbican
name: barbican name: barbican
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/barbican/latest/ home: https://docs.openstack.org/barbican/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Barbican/OpenStack_Project_Barbican_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Barbican/OpenStack_Project_Barbican_vertical.png
sources: sources:

View File

@ -93,6 +93,6 @@ data:
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }} 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 }} 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 }} 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 }} barbican-api.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.barbican_api | b64enc }}
{{- end }} {{- end }}

View File

@ -101,8 +101,8 @@ spec:
subPath: barbican-api-paste.ini subPath: barbican-api-paste.ini
readOnly: true readOnly: true
- name: barbican-etc - name: barbican-etc
mountPath: /etc/barbican/policy.json mountPath: /etc/barbican/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: barbican-bin - name: barbican-bin
mountPath: /tmp/barbican.sh mountPath: /tmp/barbican.sh

View File

@ -464,6 +464,8 @@ conf:
# NOTE(portdirect): the bind port should not be defined, and is manipulated # NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section. # via the endpoints section.
bind_port: null bind_port: null
oslo_policy:
policy_file: /etc/barbican/policy.yaml
logging: logging:
loggers: loggers:
keys: keys:

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Ceilometer description: OpenStack-Helm Ceilometer
name: ceilometer name: ceilometer
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/ceilometer/latest/ home: https://docs.openstack.org/ceilometer/latest/
sources: sources:
- https://opendev.org/openstack/ceilometer - https://opendev.org/openstack/ceilometer

View File

@ -117,7 +117,7 @@ data:
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests | b64enc }} rally_tests.yaml: {{ toYaml .Values.conf.rally_tests | b64enc }}
ceilometer.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.ceilometer | 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 }} 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 }} 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 }} event_pipeline.yaml: {{ toYaml .Values.conf.event_pipeline | b64enc }}
pipeline.yaml: {{ toYaml .Values.conf.pipeline | b64enc }} pipeline.yaml: {{ toYaml .Values.conf.pipeline | b64enc }}

View File

@ -73,8 +73,8 @@ spec:
subPath: api_paste.ini subPath: api_paste.ini
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/policy.json mountPath: /etc/ceilometer/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/event_definitions.yaml mountPath: /etc/ceilometer/event_definitions.yaml

View File

@ -75,8 +75,8 @@ spec:
subPath: api_paste.ini subPath: api_paste.ini
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/policy.json mountPath: /etc/ceilometer/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/event_definitions.yaml mountPath: /etc/ceilometer/event_definitions.yaml

View File

@ -85,8 +85,8 @@ spec:
subPath: api_paste.ini subPath: api_paste.ini
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/policy.json mountPath: /etc/ceilometer/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/api_audit_map.conf mountPath: /etc/ceilometer/api_audit_map.conf

View File

@ -71,8 +71,8 @@ spec:
subPath: api_paste.ini subPath: api_paste.ini
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/policy.json mountPath: /etc/ceilometer/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/event_definitions.yaml mountPath: /etc/ceilometer/event_definitions.yaml

View File

@ -71,8 +71,8 @@ spec:
subPath: api_paste.ini subPath: api_paste.ini
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/policy.json mountPath: /etc/ceilometer/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/event_definitions.yaml mountPath: /etc/ceilometer/event_definitions.yaml

View File

@ -71,8 +71,8 @@ spec:
subPath: api_paste.ini subPath: api_paste.ini
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/policy.json mountPath: /etc/ceilometer/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: ceilometer-etc - name: ceilometer-etc
mountPath: /etc/ceilometer/event_definitions.yaml mountPath: /etc/ceilometer/event_definitions.yaml

View File

@ -208,6 +208,8 @@ conf:
topics: topics:
- notifications - notifications
- profiler - profiler
oslo_policy:
policy_file: /etc/ceilometer/policy.yaml
cache: cache:
enabled: true enabled: true
backend: dogpile.cache.memcached backend: dogpile.cache.memcached

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Designate description: OpenStack-Helm Designate
name: designate name: designate
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/designate/latest/ home: https://docs.openstack.org/designate/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Designate/OpenStack_Project_Designate_vertical.jpg icon: https://www.openstack.org/themes/openstack/images/project-mascots/Designate/OpenStack_Project_Designate_vertical.jpg
sources: sources:

View File

@ -74,7 +74,7 @@ type: Opaque
data: data:
designate.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.designate | b64enc }} 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 }} 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 }} 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 }} {{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.pools "key" "pools.yaml" "format" "Secret" ) | indent 2 }}

View File

@ -87,8 +87,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: designate-etc - name: designate-etc
mountPath: /etc/designate/policy.json mountPath: /etc/designate/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{- if .Values.conf.designate.DEFAULT.log_config_append }} {{- if .Values.conf.designate.DEFAULT.log_config_append }}
- name: designate-etc - name: designate-etc

View File

@ -74,8 +74,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: designate-etc - name: designate-etc
mountPath: /etc/designate/policy.json mountPath: /etc/designate/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{- if .Values.conf.designate.DEFAULT.log_config_append }} {{- if .Values.conf.designate.DEFAULT.log_config_append }}
- name: designate-etc - name: designate-etc

View File

@ -85,8 +85,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: designate-etc - name: designate-etc
mountPath: /etc/designate/policy.json mountPath: /etc/designate/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{- if .Values.conf.designate.DEFAULT.log_config_append }} {{- if .Values.conf.designate.DEFAULT.log_config_append }}
- name: designate-etc - name: designate-etc

View File

@ -74,8 +74,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: designate-etc - name: designate-etc
mountPath: /etc/designate/policy.json mountPath: /etc/designate/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{- if .Values.conf.designate.DEFAULT.log_config_append }} {{- if .Values.conf.designate.DEFAULT.log_config_append }}
- name: designate-etc - name: designate-etc

View File

@ -70,8 +70,8 @@ spec:
subPath: designate.conf subPath: designate.conf
readOnly: true readOnly: true
- name: designate-etc - name: designate-etc
mountPath: /etc/designate/policy.json mountPath: /etc/designate/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{- if .Values.conf.designate.DEFAULT.log_config_append }} {{- if .Values.conf.designate.DEFAULT.log_config_append }}
- name: designate-etc - name: designate-etc

View File

@ -99,8 +99,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: designate-etc - name: designate-etc
mountPath: /etc/designate/policy.json mountPath: /etc/designate/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{- if .Values.conf.designate.DEFAULT.log_config_append }} {{- if .Values.conf.designate.DEFAULT.log_config_append }}
- name: designate-etc - name: designate-etc

View File

@ -562,6 +562,8 @@ conf:
notify: false notify: false
oslo_middleware: oslo_middleware:
enable_proxy_headers_parsing: true enable_proxy_headers_parsing: true
oslo_policy:
policy_file: /etc/designate/policy.yaml
database: database:
max_retries: -1 max_retries: -1
storage:sqlalchemy: storage:sqlalchemy:

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Glance description: OpenStack-Helm Glance
name: glance name: glance
version: 0.2.2 version: 0.2.3
home: https://docs.openstack.org/glance/latest/ home: https://docs.openstack.org/glance/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
sources: sources:

View File

@ -195,7 +195,7 @@ data:
glance-api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }} 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.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 }} 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 }} 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.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 }} {{- include "helm-toolkit.snippets.values_template_renderer" ( dict "envAll" $envAll "template" .Values.conf.nginx "key" "nginx.conf" "format" "Secret" ) | indent 2 }}

View File

@ -194,8 +194,8 @@ spec:
subPath: glance-api-paste.ini subPath: glance-api-paste.ini
readOnly: true readOnly: true
- name: glance-etc - name: glance-etc
mountPath: /etc/glance/policy.json mountPath: /etc/glance/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: glance-etc - name: glance-etc
mountPath: /etc/glance/api_audit_map.conf mountPath: /etc/glance/api_audit_map.conf

View File

@ -105,8 +105,8 @@ spec:
subPath: glance-registry-paste.ini subPath: glance-registry-paste.ini
readOnly: true readOnly: true
- name: glance-etc - name: glance-etc
mountPath: /etc/glance/policy.json mountPath: /etc/glance/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true 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.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 }} {{- 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 }}

View File

@ -284,6 +284,8 @@ conf:
driver: messagingv2 driver: messagingv2
oslo_messaging_rabbit: oslo_messaging_rabbit:
rabbit_ha_queues: true rabbit_ha_queues: true
oslo_policy:
policy_file: /etc/glance/policy.yaml
cors: {} cors: {}
logging: logging:
loggers: loggers:

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Heat description: OpenStack-Helm Heat
name: heat name: heat
version: 0.2.1 version: 0.2.2
home: https://docs.openstack.org/heat/latest/ home: https://docs.openstack.org/heat/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Heat/OpenStack_Project_Heat_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Heat/OpenStack_Project_Heat_vertical.png
sources: sources:

View File

@ -140,7 +140,7 @@ data:
heat.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.heat | b64enc }} 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 }} 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 }} 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 }} {{- 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.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 }} {{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.wsgi_heat "key" "wsgi-heat.conf" "format" "Secret" ) | indent 2 }}

View File

@ -104,8 +104,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/api_audit_map.conf mountPath: /etc/heat/api_audit_map.conf

View File

@ -104,8 +104,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/api_audit_map.conf mountPath: /etc/heat/api_audit_map.conf

View File

@ -97,8 +97,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/api_audit_map.conf mountPath: /etc/heat/api_audit_map.conf

View File

@ -96,8 +96,8 @@ spec:
readOnly: true readOnly: true
{{ end }} {{ end }}
- name: heat-etc - name: heat-etc
mountPath: /etc/heat/policy.json mountPath: /etc/heat/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true 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" $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 }} {{- 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 }}

View File

@ -473,6 +473,8 @@ conf:
enable_proxy_headers_parsing: true enable_proxy_headers_parsing: true
oslo_messaging_rabbit: oslo_messaging_rabbit:
rabbit_ha_queues: True rabbit_ha_queues: True
oslo_policy:
policy_file: /etc/heat/policy.yaml
api_audit_map: api_audit_map:
DEFAULT: DEFAULT:
target_endpoint_type: None target_endpoint_type: None

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Horizon description: OpenStack-Helm Horizon
name: horizon name: horizon
version: 0.2.1 version: 0.2.2
home: https://docs.openstack.org/horizon/latest/ home: https://docs.openstack.org/horizon/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
sources: sources:

View File

@ -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 }} {{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.horizon.security "key" "security.conf" "format" "Secret" ) | indent 2 }}
{{- end }} {{- end }}
{{- range $key, $value := .Values.conf.horizon.policy }} {{- 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 }}
{{- end }} {{- end }}

View File

@ -123,7 +123,7 @@ spec:
subPath: local_settings subPath: local_settings
readOnly: true readOnly: true
{{- range $key, $value := $envAll.Values.conf.horizon.policy }} {{- 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 - name: horizon-etc
mountPath: {{ $policyFile }} mountPath: {{ $policyFile }}
subPath: {{ base $policyFile }} subPath: {{ base $policyFile }}

View File

@ -631,17 +631,17 @@ conf:
# OpenStack services are using to determine role based access control in the # OpenStack services are using to determine role based access control in the
# target installation. # target installation.
# Path to directory containing policy.json files # Path to directory containing policy.yaml files
POLICY_FILES_PATH = '/etc/openstack-dashboard' POLICY_FILES_PATH = '/etc/openstack-dashboard'
# Map of local copy of service policy files # Map of local copy of service policy files
#POLICY_FILES = { #POLICY_FILES = {
# 'identity': 'keystone_policy.json', # 'identity': 'keystone_policy.yaml',
# 'compute': 'nova_policy.json', # 'compute': 'nova_policy.yaml',
# 'volume': 'cinder_policy.json', # 'volume': 'cinder_policy.yaml',
# 'image': 'glance_policy.json', # 'image': 'glance_policy.yaml',
# 'orchestration': 'heat_policy.json', # 'orchestration': 'heat_policy.yaml',
# 'network': 'neutron_policy.json', # 'network': 'neutron_policy.yaml',
# 'telemetry': 'ceilometer_policy.json', # 'telemetry': 'ceilometer_policy.yaml',
#} #}
# Trove user and database extension support. By default support for # Trove user and database extension support. By default support for

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Ironic description: OpenStack-Helm Ironic
name: ironic name: ironic
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/ironic/latest/ home: https://docs.openstack.org/ironic/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Ironic/OpenStack_Project_Ironic_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Ironic/OpenStack_Project_Ironic_vertical.png
sources: sources:

View File

@ -203,7 +203,7 @@ type: Opaque
data: data:
ironic.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.ironic | b64enc }} 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 }} 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.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 }} {{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.nginx "key" "nginx.conf" "format" "Secret" ) | indent 2 }}
{{- end }} {{- end }}

View File

@ -131,8 +131,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: ironic-etc - name: ironic-etc
mountPath: /etc/ironic/policy.json mountPath: /etc/ironic/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: pod-shared - name: pod-shared
mountPath: /tmp/pod-shared mountPath: /tmp/pod-shared

View File

@ -181,8 +181,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: ironic-etc - name: ironic-etc
mountPath: /etc/ironic/policy.json mountPath: /etc/ironic/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: host-var-lib-ironic - name: host-var-lib-ironic
mountPath: /var/lib/ironic mountPath: /var/lib/ironic

View File

@ -136,6 +136,8 @@ conf:
auth_type: password auth_type: password
swift: swift:
auth_url: null auth_url: null
oslo_policy:
policy_file: /etc/ironic/policy.yaml
logging: logging:
loggers: loggers:
keys: keys:

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Keystone description: OpenStack-Helm Keystone
name: keystone name: keystone
version: 0.2.3 version: 0.2.4
home: https://docs.openstack.org/keystone/latest/ home: https://docs.openstack.org/keystone/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
sources: sources:

View File

@ -54,7 +54,7 @@ data:
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }} rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
keystone.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.keystone | 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 }} 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 }} access_rules.json: {{ toJson .Values.conf.access_rules | b64enc }}
ports.conf: '' ports.conf: ''
{{- range $k, $v := .Values.conf.ks_domains }} {{- range $k, $v := .Values.conf.ks_domains }}

View File

@ -106,8 +106,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: keystone-etc - name: keystone-etc
mountPath: /etc/keystone/policy.json mountPath: /etc/keystone/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: keystone-etc - name: keystone-etc
mountPath: /etc/keystone/access_rules.json mountPath: /etc/keystone/access_rules.json

View File

@ -551,6 +551,8 @@ conf:
rabbit_ha_queues: true rabbit_ha_queues: true
oslo_middleware: oslo_middleware:
enable_proxy_headers_parsing: true enable_proxy_headers_parsing: true
oslo_policy:
policy_file: /etc/keystone/policy.yaml
security_compliance: security_compliance:
# NOTE(vdrok): The following two options have effect only for SQL backend # NOTE(vdrok): The following two options have effect only for SQL backend
lockout_failure_attempts: 5 lockout_failure_attempts: 5

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Magnum description: OpenStack-Helm Magnum
name: magnum name: magnum
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/magnum/latest/ home: https://docs.openstack.org/magnum/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png
sources: sources:

View File

@ -93,5 +93,5 @@ data:
magnum.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.magnum | b64enc }} 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 }} 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 }} 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 }} {{- end }}

View File

@ -103,8 +103,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: magnum-etc - name: magnum-etc
mountPath: /etc/magnum/policy.json mountPath: /etc/magnum/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: magnum-lock-path - name: magnum-lock-path
mountPath: {{ .Values.conf.magnum.oslo_concurrency.lock_path }} mountPath: {{ .Values.conf.magnum.oslo_concurrency.lock_path }}

View File

@ -99,8 +99,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: magnum-etc - name: magnum-etc
mountPath: /etc/magnum/policy.json mountPath: /etc/magnum/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
- name: pod-shared - name: pod-shared
mountPath: /tmp/pod-shared mountPath: /tmp/pod-shared

View File

@ -119,6 +119,8 @@ conf:
driver: messaging driver: messaging
oslo_concurrency: oslo_concurrency:
lock_path: /var/lib/magnum/tmp lock_path: /var/lib/magnum/tmp
oslo_policy:
policy_file: /etc/magnum/policy.yaml
certificates: certificates:
cert_manager_type: barbican cert_manager_type: barbican
database: database:

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Mistral description: OpenStack-Helm Mistral
name: mistral name: mistral
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/mistral/latest/ home: https://docs.openstack.org/mistral/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Mistral/OpenStack_Project_Mistral_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Mistral/OpenStack_Project_Mistral_vertical.png
sources: sources:

View File

@ -83,7 +83,7 @@ data:
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }} rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
mistral.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.mistral | 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 }} 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 }} {{- range $key, $value := $envAll.Values.conf.rally_tests.templates }}
{{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }} {{ printf "test_template_%d" $key }}: {{ $value.template | b64enc }}
{{- end }} {{- end }}

View File

@ -93,8 +93,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: mistral-etc - name: mistral-etc
mountPath: /etc/mistral/policy.json mountPath: /etc/mistral/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{ if $mounts_mistral_api.volumeMounts }}{{ toYaml $mounts_mistral_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_mistral_api.volumeMounts }}{{ toYaml $mounts_mistral_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:

View File

@ -468,6 +468,8 @@ conf:
auth_type: password auth_type: password
auth_version: v3 auth_version: v3
memcache_security_strategy: ENCRYPT memcache_security_strategy: ENCRYPT
oslo_policy:
policy_file: /etc/mistral/policy.yaml
logging: logging:
loggers: loggers:
keys: keys:

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Neutron description: OpenStack-Helm Neutron
name: neutron name: neutron
version: 0.2.1 version: 0.2.2
home: https://docs.openstack.org/neutron/latest/ home: https://docs.openstack.org/neutron/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources: sources:

View File

@ -251,7 +251,7 @@ type: Opaque
data: data:
rally_tests.yaml: {{ toYaml $envAll.Values.conf.rally_tests.tests | b64enc }} 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 }} 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 }} 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 }} 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 }} api_audit_map.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.api_audit_map | b64enc }}

View File

@ -234,8 +234,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: neutron-etc - name: neutron-etc
mountPath: /etc/neutron/policy.json mountPath: /etc/neutron/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true 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.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 }} {{- 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 }}

View File

@ -1906,6 +1906,8 @@ conf:
rabbit_ha_queues: true rabbit_ha_queues: true
oslo_middleware: oslo_middleware:
enable_proxy_headers_parsing: true enable_proxy_headers_parsing: true
oslo_policy:
policy_file: /etc/neutron/policy.yaml
nova: nova:
auth_type: password auth_type: password
auth_version: v3 auth_version: v3

View File

@ -3,3 +3,4 @@ aodh:
- 0.1.0 Initial Chart - 0.1.0 Initial Chart
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -4,3 +4,4 @@ barbican:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 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.1.2 Added post-install and post-upgrade helm hook for Jobs
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -3,3 +3,4 @@ ceilometer:
- 0.1.0 Initial Chart - 0.1.0 Initial Chart
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -4,3 +4,4 @@ designate:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 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.1.2 Added post-install and post-upgrade helm hooks on Jobs
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -12,3 +12,4 @@ glance:
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Fix the ceph pool creations for openstack services - 0.2.1 Fix the ceph pool creations for openstack services
- 0.2.2 Adding rabbitmq TLS logic - 0.2.2 Adding rabbitmq TLS logic
- 0.2.3 Use policies in yaml format

View File

@ -8,3 +8,4 @@ heat:
- 0.1.5 Change Issuer to ClusterIssuer - 0.1.5 Change Issuer to ClusterIssuer
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Adding rabbitmq TLS logic - 0.2.1 Adding rabbitmq TLS logic
- 0.2.2 Use policies in yaml format

View File

@ -11,4 +11,5 @@ horizon:
- 0.1.8 Implement "CSRF_COOKIE_HTTPONLY" option support in horizon - 0.1.8 Implement "CSRF_COOKIE_HTTPONLY" option support in horizon
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Make python script PEP8 compliant - 0.2.1 Make python script PEP8 compliant
- 0.2.2 Use policies in yaml format
... ...

View File

@ -4,3 +4,4 @@ ironic:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 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.1.2 Added post-install and post-upgrade helm.sh/hook for jobs
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -19,4 +19,5 @@ keystone:
- 0.2.1 Remove paste ini config settings - 0.2.1 Remove paste ini config settings
- 0.2.2 Make python script PEP8 compliant - 0.2.2 Make python script PEP8 compliant
- 0.2.3 Adding rabbitmq TLS logic - 0.2.3 Adding rabbitmq TLS logic
- 0.2.4 Use policies in yaml format
... ...

View File

@ -4,3 +4,4 @@ magnum:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 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.1.2 Added post-install and post-upgrade helm hook for jobs
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -4,3 +4,4 @@ mistral:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 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.1.2 Added post-install and post-upgrade hook for Jobs
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -15,3 +15,4 @@ neutron:
- 0.1.12 Removed "name" parameter from Rally tests - 0.1.12 Removed "name" parameter from Rally tests
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Adding rabbitmq TLS logic - 0.2.1 Adding rabbitmq TLS logic
- 0.2.2 Use policies in yaml format

View File

@ -3,3 +3,4 @@ senlin:
- 0.1.0 Initial Chart - 0.1.0 Initial Chart
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.2.0 Remove support for releases before T - 0.2.0 Remove support for releases before T
- 0.2.1 Use policies in yaml format

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Senlin description: OpenStack-Helm Senlin
name: senlin name: senlin
version: 0.2.0 version: 0.2.1
home: https://docs.openstack.org/senlin/latest/ home: https://docs.openstack.org/senlin/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Senlin/OpenStack_Project_Senlin_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Senlin/OpenStack_Project_Senlin_vertical.png
sources: sources:

View File

@ -104,5 +104,5 @@ data:
senlin.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.senlin | b64enc }} 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 }} 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 }} 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 }} {{- end }}

View File

@ -103,8 +103,8 @@ spec:
subPath: api-paste.ini subPath: api-paste.ini
readOnly: true readOnly: true
- name: senlin-etc - name: senlin-etc
mountPath: /etc/senlin/policy.json mountPath: /etc/senlin/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{ if $mounts_senlin_api.volumeMounts }}{{ toYaml $mounts_senlin_api.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_senlin_api.volumeMounts }}{{ toYaml $mounts_senlin_api.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:

View File

@ -78,8 +78,8 @@ spec:
readOnly: true readOnly: true
{{- end }} {{- end }}
- name: senlin-etc - name: senlin-etc
mountPath: /etc/senlin/policy.json mountPath: /etc/senlin/policy.yaml
subPath: policy.json subPath: policy.yaml
readOnly: true readOnly: true
{{ if $mounts_senlin_engine.volumeMounts }}{{ toYaml $mounts_senlin_engine.volumeMounts | indent 12 }}{{ end }} {{ if $mounts_senlin_engine.volumeMounts }}{{ toYaml $mounts_senlin_engine.volumeMounts | indent 12 }}{{ end }}
volumes: volumes:

View File

@ -179,6 +179,8 @@ conf:
# NOTE(portdirect): the bind port should not be defined, and is manipulated # NOTE(portdirect): the bind port should not be defined, and is manipulated
# via the endpoints section. # via the endpoints section.
bind_port: null bind_port: null
oslo_policy:
policy_file: /etc/senlin/policy.yaml
logging: logging:
loggers: loggers:
keys: keys: