QuestionQ39Verified/703.2 Basic Kubernetes OperationsCopy linkReport a problemAsk AstroTutorSave questionHow can a Kubernetes Secret be referenced in a Pod definition?Choose twoAAs a volumeBAs a labelCAs an annotationDAs an environment variableEAs an image nameShow AnswerAnswerExplanationKubernetes supports exposing Secret data to containers through a Secret-backed volume, where the data is mounted as files, and through environment variables, using fields such as env[].valueFrom.secretKeyRef.Learn moreSecrets | KubernetesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion