Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Repeat for the Output Endpoint, as required.

Adding files to a runtime container for purposes of Kerberos or mTLS authentication

Files can be added to a k8s secret or configmap, and then the secret or configmap can be mounted to a specific location in the runtime container’s file system.

  1. Create a secret or configmap that contains the necessary files.

    1. This can be done using kubectl: kubectl create configmap [configmap_name] --from-file [path/to/directory]

    2. This can be done via helm

      1. Place the files you want in your configmap inside a subdirectory of the helm chart: moc/my-files/some.file

      2. In the helm values/override file:

        Code Block
        languagejson
        moc:
          configMaps:
            my-configmap: my-files/*
  2. Mount the secret or configmap on a runtime:

    Code Block
    languagejson
    moc:
      runtimes:
        "my-runtime":
          configMaps:
            my-configmap: /path/to/files/in/container

This will create a configmap called my-configmap that contains a file called some.file and will mount that file into "my-runtime" such that inside the runtime’s container there will exist a file at /path/to/files/in/container/some.file.

Adding Tags to a ModelOp Runtime

...