OMServer Custom Resource sample manifest

The following .yaml file is a schema of OMServer CR with sample values.

Important: The values in the following yaml are provided for demonstration purpose only and must me modified as required.
# AppServer
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
  name: oms-smcfs
spec:
  name: smcfs
  replicaCount: 1
  upgradeStrategy: RollingUpdate
  profile: huge
  property:
    customerOverrides: AppServerProperties
    envVars: Liberty
    jvmArgs: BaseJVMArgs
  appServer:
    ingress:
      contextRoots: [smcfs, sbc, sma]
      customDomains:
      - host: ""
        className: ""
        annotations: 
          ingress.kubernetes.io/affinity: "cookie"
        labels: {}
        ssl:
          enabled: ""
          identitySecretName: mydomain_secret
---
# AgentServer
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
  name: oms-agents-orderservice
spec:
  name: agents-orderservice
  profile: medium
  property:
    customerOverrides: AgentProperties
    envVars: CommonEnvVars
    jvmArgs: BaseJVMArgs
  replicaCount: 1
  agentServer:
    names: [OrderArchiveServer, SSIDelayedSyncOSServer, PurgeSalesOrderDefaultSmartServer]
    allowTermination:
      schedule: 'none'    # A Job will be created.

---
# IntegrationServer
apiVersion: apps.oms.ibm.com/v1beta1
kind: OMServer
metadata:
  name: oms-integration
spec:
  name: oms-integration
  profile: medium
  property:
    customerOverrides: AgentProperties
    envVars: CommonEnvVars
    jvmArgs: BaseJVMArgs
  replicaCount: 1
  integrationServer:
    names: [Integration_Server1, Integration_Server2]    
    allowTermination:
      schedule: '*/5 * * * *'  # A CronJob will be created.