Skip to content

Commit

Permalink
Adapt AbstractHelmSecurityContextIT to new default UID 10000 of HiveM…
Browse files Browse the repository at this point in the history
…Q Platform Operator
  • Loading branch information
Donnerbart committed Dec 12, 2024
1 parent e21e3da commit e597cfb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ protected static void assertUidAndGid(

protected @NotNull Stream<Arguments> chartValues() {
return Stream.of(arguments(new ChartValues(new Values(0, 0, operatorChartRootUserValuesFile()),
new Values(0, 0, platformChartRootUserValuesFile()))),
// Default Operator non-root UID is 185 and GID is 0
arguments(new ChartValues(new Values(185, 0, operatorChartNonRootUserValuesFile()),
new Values(10000, // Default Platform non-root UID is 1000 and GID is 0
0, platformChartNonRootUserValuesFile()))));
new Values(0, 0, platformChartRootUserValuesFile()))), arguments(new ChartValues(
// Default Operator non-root UID is 10000 and GID is 0
new Values(10000, 0, operatorChartNonRootUserValuesFile()),
// Default Platform non-root UID is 10000 and GID is 0
new Values(10000, 0, platformChartNonRootUserValuesFile()))));
}

protected record ChartValues(@NotNull Values operator, @NotNull Values platform) {
Expand Down

0 comments on commit e597cfb

Please sign in to comment.