apiVersion: v1
data:
  keycloak.cli: 'embed-server --server-config=standalone-ha.xml --std-out=echo

    batch


    echo Configuring node identifier


    ## Sets the node identifier to the node name (= pod name). Node identifiers have
    to be unique. They can have a

    ## maximum length of 23 characters. Thus, the chart''s fullname template truncates
    its length accordingly.

    /subsystem=transactions:write-attribute(name=node-identifier, value=${jboss.node.name})


    echo Finished configuring node identifier


    run-batch

    stop-embedded-server

    '
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/instance: keycloak
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: keycloak
    app.kubernetes.io/version: 15.0.2
    helm.sh/chart: keycloak-10.3.1
  name: keycloak-startup
