Package io.quarkus.kubernetes.deployment
Enum Class SecurityContextConfig.PodFSGroupChangePolicy
java.lang.Object
java.lang.Enum<SecurityContextConfig.PodFSGroupChangePolicy>
io.quarkus.kubernetes.deployment.SecurityContextConfig.PodFSGroupChangePolicy
- All Implemented Interfaces:
Serializable,Comparable<SecurityContextConfig.PodFSGroupChangePolicy>,Constable
- Enclosing interface:
- SecurityContextConfig
public static enum SecurityContextConfig.PodFSGroupChangePolicy
extends Enum<SecurityContextConfig.PodFSGroupChangePolicy>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIt indicates that volume's ownership and permissions should always be changed whenever volume is mounted inside a Pod.It indicates that volume's ownership and permissions will be changed only when permission and ownership of root directory does not match with expected permissions on the volume. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OnRootMismatch
It indicates that volume's ownership and permissions will be changed only when permission and ownership of root directory does not match with expected permissions on the volume. -
Always
It indicates that volume's ownership and permissions should always be changed whenever volume is mounted inside a Pod. This the default behavior.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-