Parameters
The parent key for all of the following parameters is openshift4_api.
servingCerts
| type |
object |
| default |
|
servingCerts provides TLS certificates for serving API traffic.
This is a key-value map defining multiple named certificates.
If the parameter has value null no serving certificates will be configured on the API server.
Each entry needs to specify which host name it matches and provide a certificate.
Entries can have value null, in which case they’re skipped.
The certificate can be provided in two ways:
-
secret: The provided entry is deployed onto the cluster as a Kubernetes Secret withtype=kubernetes.io/tls. The dictionary values are directly merged into aSecretresource which only hastype=kubernetes.io/tlsset. -
cert: A certificate is generated usingcert-manager, by deploying the entry as aCertificateresource. The dictionary values are then directly merged into the mostly emptyCertificateresources.
If no certificate is specified or no name matches the server name, the operator managed certificates will be used for serving secure traffic.
apiServerSpec
| type |
object |
| default |
|
The APIServer config specification.
The dictionary values are directly merged into the spec of the APIServer resource.
Configuring field servingCerts in this parameter won’t have an effect, as that field is overwritten by the contents of parameter servingCerts.
|
Example
additionalCORSAllowedOrigins: []
apiServerSpec:
audit:
profile: 'Default'
clientCA:
name: internal-ca
encryption:
type: aescbc
tlsSecurityProfile:
old: {}
type: Old
servingCerts:
"foo":
names:
- "foo.vshn.ch"
secret:
stringData:
tls.crt: "THECERTTIFICATE"
tls.key: "THEKEY"
"bar":
names:
- "bar.vshn.ch"
- "buzz.vshn.ch"
secret: null
cert:
subject:
organizations:
- projectsyn
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
"baz": null
apiServerAnnotations
| type |
object |
| default |
|
Additional annotations to apply to the APIServer resource on the cluster.
Users can remove annotations from the resource by setting the annotation value to null.
The component applies the following annotations by default:
oauth-apiserver.openshift.io/secure-token-storage: 'true',
release.openshift.io/create-only: 'true',
|
In addition to the annotations listed above, the annotation |
monitoring
This parameter allows users to enable the component’s monitoring configuration.
Currently the component has support for deploying custom ServiceMonitors on clusters which use component prometheus to manage a custom monitoring stack.
enabled
| type |
boolean |
| default |
|
Whether to deploy monitoring configurations.
If this parameter is set to true, the component will check whether component prometheus is present on the cluster.
If the component is missing, no configurations will be deployed regardless of the value of this parameter.