有谁知道在什么情况下选择 Kubernetes 秘密而不是 google 秘密管理器,反之亦然?两者有何区别?
google-cloud-platform google-kubernetes-engine kubernetes-secrets google-secret-manager
我正在使用以下链接运行 KubernetesPodOperator 密钥的快速入门:https://cloud.google.com/composer/docs/how-to/using/using-kubernetes-pod-operator
下面使用的代码:
from airflow import models
from airflow.contrib.kubernetes import secret
from airflow.contrib.operators import kubernetes_pod_operator
# A Secret is an object that contains a small amount of sensitive data such as
# a password, a token, or a key. Such information might otherwise be put in a
# Pod specification or in an image; putting it in a Secret object allows for
# more control over how it is used, and reduces the risk of accidental
# exposure. …Run Code Online (Sandbox Code Playgroud) google-kubernetes-engine airflow airflow-scheduler google-cloud-composer
airflow ×1