Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: point out that Kubeconfig client_key structs are base64 encoded #1526

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kube-client/src/config/file_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ pub struct AuthInfo {
#[serde(skip_serializing_if = "Option::is_none")]
pub client_certificate: Option<String>,
/// PEM-encoded data from a client cert file for TLS. Overrides `client_certificate`
/// this key should be base64 encoded instead of the decode string data
#[serde(rename = "client-certificate-data")]
#[serde(skip_serializing_if = "Option::is_none")]
pub client_certificate_data: Option<String>,
Expand All @@ -204,6 +205,7 @@ pub struct AuthInfo {
#[serde(skip_serializing_if = "Option::is_none")]
pub client_key: Option<String>,
/// PEM-encoded data from a client key file for TLS. Overrides `client_key`
/// this key should be base64 encoded instead of the decode string data
#[serde(rename = "client-key-data")]
#[serde(skip_serializing_if = "Option::is_none", default)]
#[serde(
Expand Down
Loading