airflow.providers.cncf.kubernetes.secret

Classes for interacting with Kubernetes API.

Module Contents

Classes

Secret

Defines Kubernetes Secret Volume.

class airflow.providers.cncf.kubernetes.secret.Secret(deploy_type, deploy_target, secret, key=None, items=None)[source]

Bases: airflow.providers.cncf.kubernetes.k8s_model.K8SModel

Defines Kubernetes Secret Volume.

to_env_secret()[source]

Store es environment secret.

to_env_from_secret()[source]

Read from environment to secret.

to_volume_secret()[source]

Convert to volume secret.

attach_to_pod(pod)[source]

Attach to pod.

__eq__(other)[source]

Return self==value.

__repr__()[source]

Return repr(self).

Was this entry helpful?