|
@@ -10,13 +10,16 @@ assetConfig:
|
|
publicURL: {{ openshift.master.public_console_url }}/
|
|
publicURL: {{ openshift.master.public_console_url }}/
|
|
servingInfo:
|
|
servingInfo:
|
|
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.console_port }}
|
|
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.console_port }}
|
|
|
|
+ bindNetwork: tcp4
|
|
certFile: master.server.crt
|
|
certFile: master.server.crt
|
|
clientCA: ""
|
|
clientCA: ""
|
|
keyFile: master.server.key
|
|
keyFile: master.server.key
|
|
maxRequestsInFlight: 0
|
|
maxRequestsInFlight: 0
|
|
requestTimeoutSeconds: 0
|
|
requestTimeoutSeconds: 0
|
|
|
|
+controllerLeaseTTL: 0
|
|
|
|
+controllers: '*'
|
|
corsAllowedOrigins:
|
|
corsAllowedOrigins:
|
|
-{% for origin in ['127.0.0.1', 'localhost', openshift.common.hostname, openshift.common.ip, openshift.common.public_hostname, openshift.common.public_ip] | unique %}
|
|
|
|
|
|
+{% for origin in ['127.0.0.1', 'localhost', openshift.common.ip, openshift.common.public_ip] | union(openshift.common.all_hostnames) | unique %}
|
|
- {{ origin }}
|
|
- {{ origin }}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% for custom_origin in openshift.master.custom_cors_origins | default("") %}
|
|
{% for custom_origin in openshift.master.custom_cors_origins | default("") %}
|
|
@@ -29,8 +32,10 @@ corsAllowedOrigins:
|
|
disabledFeatures: {{ openshift.master.disabled_features | to_json }}
|
|
disabledFeatures: {{ openshift.master.disabled_features | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if openshift.master.embedded_dns | bool %}
|
|
{% if openshift.master.embedded_dns | bool %}
|
|
|
|
+disabledFeatures: null
|
|
dnsConfig:
|
|
dnsConfig:
|
|
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.dns_port }}
|
|
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.dns_port }}
|
|
|
|
+ bindNetwork: tcp4
|
|
{% endif %}
|
|
{% endif %}
|
|
etcdClientInfo:
|
|
etcdClientInfo:
|
|
ca: {{ "ca.crt" if (openshift.master.embedded_etcd | bool) else "master.etcd-ca.crt" }}
|
|
ca: {{ "ca.crt" if (openshift.master.embedded_etcd | bool) else "master.etcd-ca.crt" }}
|
|
@@ -81,13 +86,13 @@ kubernetesMasterConfig:
|
|
apiServerArguments: {{ api_server_args if api_server_args is defined else 'null' }}
|
|
apiServerArguments: {{ api_server_args if api_server_args is defined else 'null' }}
|
|
controllerArguments: {{ controller_args if controller_args is defined else 'null' }}
|
|
controllerArguments: {{ controller_args if controller_args is defined else 'null' }}
|
|
masterCount: {{ openshift.master.master_count }}
|
|
masterCount: {{ openshift.master.master_count }}
|
|
- masterIP: ""
|
|
|
|
- podEvictionTimeout: ""
|
|
|
|
|
|
+ masterIP: {{ openshift.common.ip }}
|
|
|
|
+ podEvictionTimeout: 5m
|
|
proxyClientInfo:
|
|
proxyClientInfo:
|
|
certFile: master.proxy-client.crt
|
|
certFile: master.proxy-client.crt
|
|
keyFile: master.proxy-client.key
|
|
keyFile: master.proxy-client.key
|
|
schedulerConfigFile: {{ openshift_master_scheduler_conf }}
|
|
schedulerConfigFile: {{ openshift_master_scheduler_conf }}
|
|
- servicesNodePortRange: ""
|
|
|
|
|
|
+ servicesNodePortRange: 30000-32767
|
|
servicesSubnet: {{ openshift.master.portal_net }}
|
|
servicesSubnet: {{ openshift.master.portal_net }}
|
|
staticNodeNames: {{ openshift_node_ips | default([], true) }}
|
|
staticNodeNames: {{ openshift_node_ips | default([], true) }}
|
|
{% endif %}
|
|
{% endif %}
|
|
@@ -105,6 +110,7 @@ networkConfig:
|
|
# serviceNetworkCIDR must match kubernetesMasterConfig.servicesSubnet
|
|
# serviceNetworkCIDR must match kubernetesMasterConfig.servicesSubnet
|
|
serviceNetworkCIDR: {{ openshift.master.portal_net }}
|
|
serviceNetworkCIDR: {{ openshift.master.portal_net }}
|
|
{% include 'v1_partials/oauthConfig.j2' %}
|
|
{% include 'v1_partials/oauthConfig.j2' %}
|
|
|
|
+pauseControllers: false
|
|
policyConfig:
|
|
policyConfig:
|
|
bootstrapPolicyFile: {{ openshift_master_policy }}
|
|
bootstrapPolicyFile: {{ openshift_master_policy }}
|
|
openshiftInfrastructureNamespace: openshift-infra
|
|
openshiftInfrastructureNamespace: openshift-infra
|
|
@@ -118,8 +124,9 @@ projectConfig:
|
|
mcsLabelsPerProject: {{ openshift.master.mcs_labels_per_project }}
|
|
mcsLabelsPerProject: {{ openshift.master.mcs_labels_per_project }}
|
|
uidAllocatorRange: "{{ openshift.master.uid_allocator_range }}"
|
|
uidAllocatorRange: "{{ openshift.master.uid_allocator_range }}"
|
|
routingConfig:
|
|
routingConfig:
|
|
- subdomain: "{{ openshift.master.default_subdomain | default("") }}"
|
|
|
|
|
|
+ subdomain: "{{ openshift.master.default_subdomain | default("router.default.svc.cluster.local") }}"
|
|
serviceAccountConfig:
|
|
serviceAccountConfig:
|
|
|
|
+ limitSecretReferences: false
|
|
managedNames:
|
|
managedNames:
|
|
- default
|
|
- default
|
|
- builder
|
|
- builder
|
|
@@ -130,6 +137,7 @@ serviceAccountConfig:
|
|
- serviceaccounts.public.key
|
|
- serviceaccounts.public.key
|
|
servingInfo:
|
|
servingInfo:
|
|
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.api_port }}
|
|
bindAddress: {{ openshift.master.bind_addr }}:{{ openshift.master.api_port }}
|
|
|
|
+ bindNetwork: tcp4
|
|
certFile: master.server.crt
|
|
certFile: master.server.crt
|
|
clientCA: ca.crt
|
|
clientCA: ca.crt
|
|
keyFile: master.server.key
|
|
keyFile: master.server.key
|