Skip to content

Commit 333fc39

Browse files
committed
OSDOCS-14578: adds ingress control options to MicroShift
1 parent ffec83d commit 333fc39

File tree

3 files changed

+100
-1
lines changed

3 files changed

+100
-1
lines changed

modules/microshift-config-yaml-custom.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:_mod-docs-content-type: CONCEPT
66
[id="microshift-yaml-custom_{context}"]
77
= Using custom settings
8+
89
To create custom configurations, make a copy of the `config.yaml.default` file that is provided in the `/etc/microshift/` directory, renaming it `config.yaml`. Keep this file in the `/etc/microshift/` directory, and then you can change supported settings that are expected to override the defaults before starting or restarting {microshift-short}.
910

1011
[IMPORTANT]

modules/microshift-default-settings.adoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,30 @@ dns:
4242
etcd:
4343
memoryLimitMB: 0
4444
ingress:
45+
accessLogging:
46+
destination:
47+
container:
48+
maxLength: 1024
49+
syslog:
50+
address: ""
51+
facility: ""
52+
maxLength: 1024
53+
port: 0
54+
type: ""
55+
httpCaptureCookies:
56+
- matchType: ""
57+
maxLength: 0
58+
name: ""
59+
namePrefix: ""
60+
httpCaptureHeaders:
61+
request:
62+
- maxLength: 0
63+
name: ""
64+
response:
65+
- maxLength: 0
66+
name: ""
67+
httpLogFormat: ""
68+
status: Disabled
4569
certificateSecret: router-certs-default
4670
clientTLS:
4771
allowedSubjectPatterns:
@@ -54,6 +78,8 @@ ingress:
5478
mimeTypes:
5579
- ""
5680
httpEmptyRequestsPolicy: Respond
81+
httpErrorCodePages:
82+
name: ""
5783
listenAddress:
5884
- ""
5985
logEmptyRequests: Log

modules/microshift-ingress-controller-config.adoc

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,79 @@ ingress:
9191
|Parameter |Description
9292

9393
|`ingress`
94-
|The `ingress` section of the {microshift-short} `config.yaml` file defines the configurable parameters for the implemented portions of the {OCP} Ingress Control Operator. All parameters in the rest of this table are subsections in the `ingress` section of the `config.yaml`.
94+
|The `ingress` section of the {microshift-short} `config.yaml` file defines the configurable parameters for the implemented portions of the {OCP} Ingress Control Operator. All of the following parameters in this table are subsections in the `ingress` section of the `config.yaml`.
95+
96+
|`accessLogging`
97+
|
98+
99+
|`accessLogging.destination`
100+
|
101+
102+
|`accessLogging.destination.container`
103+
|
104+
105+
|`accessLogging.destination.container.maxLength`
106+
|Default value is 1024.
107+
108+
|`accessLogging.destination.syslog`
109+
|
110+
111+
|`accessLogging.destination.syslog.address`
112+
|
113+
114+
|`accessLogging.destination.syslog.facility`
115+
|
116+
117+
|`accessLogging.destination.syslog.maxLength`
118+
|Default value is 1024.
119+
120+
|`accessLogging.destination.syslog.port`
121+
|Default value is 0.
122+
123+
|`accessLogging.destination.type`
124+
|Default value is 0.
125+
126+
|`httpCaptureCookies`
127+
|
128+
129+
|`httpCaptureCookiesmatchType`
130+
|
131+
132+
|`httpCaptureCookiesmaxLength`
133+
|
134+
135+
|`httpCaptureCookiesname`
136+
|
137+
138+
|`httpCaptureCookiesnamePrefix`
139+
|
140+
141+
|`httpCaptureHeaders`
142+
|
143+
144+
|`httpCaptureHeaders.request`
145+
|
146+
147+
|`httpCaptureHeaders.request.maxLength`
148+
|
149+
150+
|`httpCaptureHeaders.request.name`
151+
|
152+
153+
|`httpCaptureHeaders.response`
154+
|
155+
156+
|`httpCaptureHeaders.responsemaxLength`
157+
|
158+
159+
|`httpCaptureHeaders.responsename`
160+
|
161+
162+
|`httpLogFormat`
163+
|
164+
165+
|`status`
166+
|Default value is `Disabled`.
95167

96168
|`certificateSecret`
97169
|A reference to a `kubernetes.io/tls` type of secret that contains the default certificate that is served by the {microshift-short} ingress controller. When routes do not specify their own certificate, the `certificateSecret` parameter is used. All secrets used must contain `tls.key` key file contents and `tls.crt` certificate file contents.

0 commit comments

Comments
 (0)