Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Oct 28, 2022
1 parent 4a5c625 commit 50623f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kube-client/src/config/file_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ pub struct ExecConfig {
#[serde(skip_serializing_if = "Option::is_none")]
pub env: Option<Vec<HashMap<String, String>>>,

/// This doesn't exist in the file itself, but used by us to avoid leaking
/// specific env to the plugin.
/// This doesn't exist upstream (yet?) and it exists to allow
/// kube crate specification of envs that shouldn't be passed
/// from the host.
#[serde(skip)]
pub drop_env: Option<Vec<String>>,
}
Expand Down

0 comments on commit 50623f0

Please sign in to comment.