Skip to content

Commit

Permalink
fix mismatching policy
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Dec 31, 2024
1 parent 49194e7 commit ba65c1c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mirrord/operator/src/crd/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ pub struct MirrordPolicySpec {
///
/// These environment variables won't be retrieved from the target even if the user
/// specifies them in their `feature.env.include` mirrord config.
pub env_vars_exclude: Option<HashSet<String>>,
///
/// Variable names can be matched using `*` and `?` where `?` matches exactly one occurrence of
/// any character and `*` matches arbitrary many (including zero) occurrences of any character,
/// e.g. `DATABASE_*` will match `DATABASE_URL` and `DATABASE_PORT`.
#[serde(default)]
pub env_vars_exclude: HashSet<String>,
}

/// Custom cluster-wide resource for policies that limit what mirrord features users can use.
Expand Down

0 comments on commit ba65c1c

Please sign in to comment.