diff options
author | Diego Castro <spinolacastro@gmail.com> | 2015-08-12 20:02:05 -0300 |
---|---|---|
committer | Diego Castro <spinolacastro@gmail.com> | 2015-08-12 20:02:05 -0300 |
commit | ec293f371046a99b0f737a59b4a9f3f001af3279 (patch) | |
tree | dbb55eecb1ff32c30db14c65f1aa19200beaf3d3 /roles/openshift_master/templates | |
parent | d307f715764164c8f543d57486718f95b1987875 (diff) | |
download | openshift-ec293f371046a99b0f737a59b4a9f3f001af3279.tar.gz openshift-ec293f371046a99b0f737a59b4a9f3f001af3279.tar.bz2 openshift-ec293f371046a99b0f737a59b4a9f3f001af3279.tar.xz openshift-ec293f371046a99b0f737a59b4a9f3f001af3279.zip |
Custom Project Config
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r-- | roles/openshift_master/templates/master.yaml.v1.j2 | 10 | ||||
-rw-r--r-- | roles/openshift_master/templates/v1_partials/projectConfig.j2 | 1 |
2 files changed, 2 insertions, 9 deletions
diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2 index c4d319c87..0a8f6c286 100644 --- a/roles/openshift_master/templates/master.yaml.v1.j2 +++ b/roles/openshift_master/templates/master.yaml.v1.j2 @@ -93,15 +93,7 @@ policyConfig: bootstrapPolicyFile: {{ openshift_master_policy }} openshiftInfrastructureNamespace: openshift-infra openshiftSharedResourcesNamespace: openshift -{# TODO: Allow users to override projectConfig items #} -projectConfig: - defaultNodeSelector: "" - projectRequestMessage: "" - projectRequestTemplate: "" - securityAllocator: - mcsAllocatorRange: s0:/2 - mcsLabelsPerProject: 5 - uidAllocatorRange: 1000000000-1999999999/10000 +{% include 'v1_partials/projectConfig.j2' %} routingConfig: subdomain: "{{ openshift.master.default_subdomain | default("") }}" serviceAccountConfig: diff --git a/roles/openshift_master/templates/v1_partials/projectConfig.j2 b/roles/openshift_master/templates/v1_partials/projectConfig.j2 new file mode 100644 index 000000000..55170e406 --- /dev/null +++ b/roles/openshift_master/templates/v1_partials/projectConfig.j2 @@ -0,0 +1 @@ +{{ openshift.master.project_config[0] | to_nice_yaml }} |