Skip to content
Snippets Groups Projects
Commit cd525081 authored by JR's avatar JR :coffee:
Browse files

add custom cm

parent 565ea353
No related branches found
No related tags found
No related merge requests found
Pipeline #247639979 failed
apiVersion: v1
kind: ConfigMap
metadata:
name: trusted-ca
labels:
config.openshift.io/inject-trusted-cabundle: "true"
...@@ -46,6 +46,9 @@ spec: ...@@ -46,6 +46,9 @@ spec:
mountPath: /etc/containers/oci/hooks.d mountPath: /etc/containers/oci/hooks.d
- name: var-log - name: var-log
mountPath: /var/log mountPath: /var/log
- name: trusted-ca
mountPath: "/etc/pki/ca-trust/extracted/pem/"
readOnly: true
volumes: volumes:
- name: run-nvidia - name: run-nvidia
hostPath: hostPath:
...@@ -59,5 +62,11 @@ spec: ...@@ -59,5 +62,11 @@ spec:
items: items:
- key: oci-nvidia-hook-json - key: oci-nvidia-hook-json
path: oci-nvidia-hook.json path: oci-nvidia-hook.json
- name: trusted-ca
configMap:
name: trusted-ca
items:
- key: ca-bundle.crt
path: tls-ca-bundle.pem
nodeSelector: nodeSelector:
nvidia.com/gpu.present: "true" nvidia.com/gpu.present: "true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment