Skip to Main Content

Containers, Cloud Native & Kubernetes

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

InoL Apr 29 2024

How doc gen treats nulls values?

You have to be more specific. Are your referring to the pre-built Document Generator function?

If so:

When my query return null in some columns

What is the JSON that is generated?

You should always include the element in the JSON, with an empty value. Don't leave it out.

Francois Robert-Oracle Jan 8 2025 — edited on Jan 8 2025

Since September 2024, when a tag has no corresponding value in the JSON data or the value is null, the tag is replaced by an empty string.

See the September Release Notes

1 - 2

Post Details

Added on Oct 12 2023
1 comment
424 views