apiVersion: batch/v1
kind: Job
metadata:
  name: ${FQDN}-apps
  namespace: ${DOMAIN}
spec:
  template:
    spec:
      restartPolicy: Never
      containers:
        - name: scim
          image: libresh/rc-apps-mgr-job:44749827-2022-05-06
          env:
            - name: HOST
              value: http://${FQDN}-app:3000
            - name: USER
              valueFrom:
                configMapKeyRef:
                  key: ADMIN_USERNAME
                  name: ${FQDN}-config
            - name: PASS
              valueFrom:
                secretKeyRef:
                  key: ADMIN_PASS
                  name: ${FQDN}-app
