...
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.
Create a secret or configmap that contains the necessary files.
This can be done using
kubectl
:kubectl create configmap [configmap_name] --from-file [path/to/directory]
This can be done via
helm
Place the files you want in your configmap inside a subdirectory of the helm chart:
moc/my-files/some.file
In the helm values/override file:
Code Block language json moc: configMaps: my-configmap: my-files/*
Mount the secret or configmap on a runtime:
Code Block language json 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
...