Skip to Main Content

Containers, Cloud Native & Kubernetes

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

How to use correct configmap in the kubernetest deployment/pod,currently my pod keeps using "kube-root-ca.crt" which is wrong

user-8lxwaOct 12 2023

[opc@bastionhost ~]$ kubectl get configmaps
/home/opc/lib/oracle-cli/lib64/python3.6/site-packages/oci/_vendor/httpsig_cffi/sign.py:10: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend # noqa: F401
NAME DATA AGE
azure-stt-en-420 3 9h
configmaps-stt-en-420 3 6h51m
kube-root-ca.crt 1 21h
[opc@bastionhost ~]$

I tried my best trying to reflect the correct config map reference either via yaml and or deployment or even pod
But nothing worked out
I am not clear about step to make it happen with clear configmap reference as a permanent configuration that is reflected as part of deployment so that all pods start while using the correct configmap

Comments
Post Details
Added on Oct 12 2023
1 comment
92 views