8.1.5 Preparing the Traefik values.yaml
To prepare the
values.yaml for the ingress:
- Navigate to the following
directory:
cd $WORKDIR/kubernetes/charts/ingress-per-domain - Make a copy of the
values.yaml:cp values.yaml $WORKDIR/ - Edit the
$WORKDIR/kubernetes/charts/ingress-per-domain/values.yamland modify the following parameters if required:-
domainUID:- If you created your OIG domain with anything other than the defaultaccessdomain, change accordingly. -
sslType:- Values supported areSSLandNONSSL. If you created your ingress controller to use SSL then set toSSL, otherwise set toNONSSL. -
hostName.enabled: false- This should be set tofalsein almost all circumstances. Setting tofalseallows OIG URI’s to be accessible from all hosts. Setting totrueconfigures ingress for virtual hostnames only. See Installing the Traefik Repository for full details of the criteria that must be met set to this value totrue. -
hostName.admin: <hostname>- Should only be set ifhostName.enabled: trueandsslType: NONSSL. This should be set to the hostname.domain of the URL you access OIG administration URL’s from, for example if you access the OIG Administration Console viahttps://admin.example.com/oigconsole, then set toadmin.example.com. -
hostName.runtime: <hostname>- Should only be set ifhostName.enabled: true. This should be set to the hostname.domain of the URL you access OIG runtime URL’s from, for example if the oig/server URI is accessed viahttps://runtime.example.com/oig/server, then set toruntime.example.com.
-
The following show example files based on different configuration types:
SSL values.yaml
# Load balancer type. Supported values are: Traefik
type: Traefik
# Type of Configuration Supported Values are : SSL and NONSSL
sslType: SSL
# domainType. Supported values are: oig
domainType: oig
#WLS domain as backend to the load balancer
wlsDomain:
domainUID: accessdomain
adminServerName: AdminServer
adminServerPort: 7001
adminServerSSLPort:
oigClusterName: oig_cluster
oigManagedServerPort: 14100
oigManagedServerSSLPort:
policyClusterName: policy_cluster
policyManagedServerPort: 14150
policyManagedServerSSLPort:
# Host specific values
hostName:
enabled: false
admin:
runtime:
NONSSL values.yaml Using All Hostnames
# Load balancer type. Supported values are: Traefik
type: Traefik
# Type of Configuration Supported Values are : SSL and NONSSL
sslType: NONSSL
# domainType. Supported values are: oig
domainType: oig
#WLS domain as backend to the load balancer
wlsDomain:
domainUID: accessdomain
adminServerName: AdminServer
adminServerPort: 7001
adminServerSSLPort:
oigClusterName: oig_cluster
oigManagedServerPort: 14100
oigManagedServerSSLPort:
policyClusterName: policy_cluster
policyManagedServerPort: 14150
policyManagedServerSSLPort:
# Host specific values
hostName:
enabled: false
admin:
runtime:
NONSSL values.yaml Using Virtual Hostnames
# Load balancer type. Supported values are: Traefik
type: Traefik
# Type of Configuration Supported Values are : SSL and NONSSL
sslType: NONSSL
# domainType. Supported values are: oig
domainType: oig
#WLS domain as backend to the load balancer
wlsDomain:
domainUID: accessdomain
adminServerName: AdminServer
adminServerPort: 7001
adminServerSSLPort:
oigClusterName: oig_cluster
oigManagedServerPort: 14100
oigManagedServerSSLPort:
policyClusterName: policy_cluster
policyManagedServerPort: 14150
policyManagedServerSSLPort:
# Host specific values
hostName:
enabled: true
admin: admin.example.com
runtime: runtime.example.com