Example YAML configurations

ELMOperation, stop All ApplicationPod

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: stop-all-application
  namespace: example
spec:
  selectedApplications:
    ccm: false
    dcc: false
    gc: false
    jas: false
    rb: false
    jts: false
    ldx: false
    lqe: false
    qm: false
    eni: false
    rm: false
  allApplications: true
  operationType: stopApplicationPod

ELMOperation, stop selective ApplicationPod

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: stop-selective-application
  namespace: example
spec:
  selectedApplications:
    ccm: true
    dcc: false
    gc: false
    jas: true
    rb: false
    jts: false
    ldx: false
    lqe: true
    qm: false
    eni: true
    rm: false
  allApplications: false
  operationType: stopApplicationPod

ELMOperation, start All ApplicationPod

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: start-all-application
  namespace: example
spec:
  selectedApplications:
    ccm: false
    dcc: false
    gc: false
    jas: false
    rb: false
    jts: false
    ldx: false
    lqe: false
    qm: false
    eni: false
    rm: false
  allApplications: true
  operationType: startApplicationPod

ELMOperation, start selective ApplicationPod

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: start-selective-application
  namespace: example
spec:
  selectedApplications:
    ccm: true
    dcc: false
    gc: false
    jas: true
    rb: false
    jts: false
    ldx: false
    lqe: true
    qm: false
    eni: true
    rm: false
  allApplications: false
  operationType: startApplicationPod

ELMOperation, backup ELM Instance

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: backup-elminstance
  namespace: example
spec:
  selectedApplications:
    ccm: false
    dcc: false
    gc: false
    jas: false
    rb: false
    jts: false
    ldx: false
    lqe: false
    qm: false
    eni: false
    rm: false
  allApplications: true
  backupLabel: latest
  operationType: backupELMInstance

ELMOperation, restore Application Configuration

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: restore-appconf
  namespace: example
spec:
  selectedApplications:
    ccm: false
    dcc: false
    gc: false
    jas: false
    rb: false
    jts: false
    ldx: false
    lqe: false
    qm: false
    eni: false
    rm: false
  allApplications: true
  backupLabel: latest
  operationType: restoreAppConf

ELMOperation, restore Application Configuration (specific timestamped backup)

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: restore-appconf
  namespace: example
spec:
  selectedApplications:
    ccm: false
    dcc: false
    gc: false
    jas: false
    rb: false
    jts: false
    ldx: false
    lqe: false
    qm: false
    eni: false
    rm: false
  allApplications: true
  backupLabel: 2025-04-25-10-02-45          
  operationType: restoreAppConf

ELMOperation, execute Repotool commands

This example shows running repotools command createFriend on selected application JTS

apiVersion: elm.ibm.com/v1
kind: ELMOperation
metadata:
  name: execute-repotools-command-createfriend
  namespace: example
spec:
  selectedApplications:
    ccm: false
    dcc: false
    gc: false
    jas: false
    rb: false
    jts: true
    ldx: false
    lqe: false
    qm: false
    eni: false
    rm: false
  allApplications: false
  operationType: executeRepotoolsCommand
  repotoolsCommand: createFriend srcRepositoryURL=https://example.elm.ibm.com/jts destRepositoryURL=https://example.elm.ibm.com/jts srcAdminUserId=elm-auth-secret::SCIM_PROVIDER_USERID srcAdminPassword=elm-auth-secret::SCIM_PROVIDER_PASSWORD destAdminUserId=elm-auth-secret::SCIM_PROVIDER_USERID destAdminPassword=elm-auth-secret::SCIM_PROVIDER_PASSWORD functionalUserId=ccm_user