Browse Source

Add PATCH to list of allowed methods for Ironic

This will allow the TripleO UI to use PATCH methods of the Ironic APIs.

Change-Id: If954eeef69f68e97fa6dea7297ea3dfa03b4afc9
Closes-Bug: #1711061
tags/7.3.0
Honza Pokorny 1 year ago
parent
commit
471bca23fd
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      elements/puppet-stack-config/puppet-stack-config.yaml.template

+ 2
- 2
elements/puppet-stack-config/puppet-stack-config.yaml.template View File

@@ -736,12 +736,12 @@ tripleo::keepalived::virtual_router_id_base: 40
736 736
 keystone::cors::allowed_origin: '*'
737 737
 ironic::cors::allowed_origin: '*'
738 738
 ironic::cors::max_age: 3600
739
-ironic::cors::allow_methods: 'GET,POST,PUT,DELETE,OPTIONS'
739
+ironic::cors::allow_methods: 'GET,POST,PUT,DELETE,OPTIONS,PATCH'
740 740
 ironic::cors::allow_headers: 'Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Auth-Token'
741 741
 ironic::cors::expose_headers: 'Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma'
742 742
 ironic::inspector::cors::allowed_origin: '*'
743 743
 ironic::inspector::cors::max_age: 3600
744
-ironic::inspector::cors::allow_methods: 'GET,POST,PUT,DELETE,OPTIONS'
744
+ironic::inspector::cors::allow_methods: 'GET,POST,PUT,DELETE,OPTIONS,PATCH'
745 745
 ironic::inspector::cors::allow_headers: 'Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Auth-Token'
746 746
 ironic::inspector::cors::expose_headers: 'Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma'
747 747
 heat::cors::allowed_origin: '*'

Loading…
Cancel
Save