31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/kuby/redis/dsl/databases/v1/redis_failover_spec_redis_security_context.rb', line 31
def serialize
{}.tap do |result|
result[:seccompProfile] = seccomp_profile.serialize
result[:runAsGroup] = run_as_group
result[:runAsUser] = run_as_user
result[:supplementalGroups] = supplemental_groups
result[:fsGroup] = fs_group
result[:sysctls] = sysctls.map(&:serialize)
result[:runAsNonRoot] = run_as_non_root
result[:windowsOptions] = windows_options.serialize
result[:seLinuxOptions] = se_linux_options.serialize
result[:fsGroupChangePolicy] = fs_group_change_policy
end
end
|