|
37934 | 37934 | } |
37935 | 37935 | } |
37936 | 37936 | }, |
37937 | | - "com.github.openshift.api.security.v1.RunAsGroupStrategyOptions": { |
37938 | | - "description": "RunAsGroupStrategyOptions defines the strategy type and options used to create the strategy.", |
37939 | | - "type": "object", |
37940 | | - "required": [ |
37941 | | - "type" |
37942 | | - ], |
37943 | | - "properties": { |
37944 | | - "gid": { |
37945 | | - "description": "gid is the group id that containers must run as. Required for the MustRunAs strategy if not using namespace/service account allocated gids.", |
37946 | | - "type": "integer", |
37947 | | - "format": "int64" |
37948 | | - }, |
37949 | | - "gidRangeMax": { |
37950 | | - "description": "gidRangeMax defines the max value for a strategy that allocates by range.", |
37951 | | - "type": "integer", |
37952 | | - "format": "int64" |
37953 | | - }, |
37954 | | - "gidRangeMin": { |
37955 | | - "description": "gidRangeMin defines the min value for a strategy that allocates by range.", |
37956 | | - "type": "integer", |
37957 | | - "format": "int64" |
37958 | | - }, |
37959 | | - "ranges": { |
37960 | | - "description": "ranges are the allowed ranges of gids. If you would like to force a single gid then supply a single range with the same start and end. When omitted, any gid is allowed (equivalent to RunAsAny strategy).", |
37961 | | - "type": "array", |
37962 | | - "items": { |
37963 | | - "default": {}, |
37964 | | - "$ref": "#/definitions/com.github.openshift.api.security.v1.IDRange" |
37965 | | - }, |
37966 | | - "x-kubernetes-list-type": "atomic" |
37967 | | - }, |
37968 | | - "type": { |
37969 | | - "description": "type is the strategy that will dictate what RunAsGroup is used in the SecurityContext. Valid values are \"MustRunAs\", \"MustRunAsRange\", and \"RunAsAny\".", |
37970 | | - "type": "string" |
37971 | | - } |
37972 | | - } |
37973 | | - }, |
37974 | 37937 | "com.github.openshift.api.security.v1.RunAsUserStrategyOptions": { |
37975 | 37938 | "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", |
37976 | 37939 | "type": "object", |
|
38157 | 38120 | }, |
38158 | 38121 | "x-kubernetes-list-type": "atomic" |
38159 | 38122 | }, |
38160 | | - "runAsGroup": { |
38161 | | - "description": "runAsGroup is the strategy that will dictate what RunAsGroup is used in the SecurityContext. When omitted, the RunAsGroup strategy will not be enforced and containers may run with any group ID.", |
38162 | | - "default": {}, |
38163 | | - "$ref": "#/definitions/com.github.openshift.api.security.v1.RunAsGroupStrategyOptions" |
38164 | | - }, |
38165 | 38123 | "runAsUser": { |
38166 | 38124 | "description": "runAsUser is the strategy that will dictate what RunAsUser is used in the SecurityContext.", |
38167 | 38125 | "default": {}, |
|
38208 | 38166 | "default": "" |
38209 | 38167 | }, |
38210 | 38168 | "x-kubernetes-list-type": "atomic" |
| 38169 | + }, |
| 38170 | + "runAsGroup": { |
| 38171 | + "description": "runAsGroup is the strategy that will dictate what RunAsGroup is used in the SecurityContext. When omitted, the RunAsGroup strategy will not be enforced and containers may run with any group ID.", |
| 38172 | + "default": {}, |
| 38173 | + "$ref": "#/definitions/com.github.openshift.api.security.v1.RunAsGroupStrategyOptions" |
38211 | 38174 | } |
38212 | 38175 | } |
38213 | 38176 | }, |
|
49875 | 49838 | "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", |
49876 | 49839 | "type": "string", |
49877 | 49840 | "format": "int-or-string" |
| 49841 | + }, |
| 49842 | + "com.github.openshift.api.security.v1.RunAsGroupIDRange": { |
| 49843 | + "description": "RunAsGroupIDRange provides a min/max of an allowed range of group IDs for RunAsGroup strategy.", |
| 49844 | + "type": "object", |
| 49845 | + "required": [ |
| 49846 | + "min", |
| 49847 | + "max" |
| 49848 | + ], |
| 49849 | + "properties": { |
| 49850 | + "max": { |
| 49851 | + "description": "max is the end of the range, inclusive.", |
| 49852 | + "type": "integer", |
| 49853 | + "format": "int64" |
| 49854 | + }, |
| 49855 | + "min": { |
| 49856 | + "description": "min is the start of the range, inclusive.", |
| 49857 | + "type": "integer", |
| 49858 | + "format": "int64" |
| 49859 | + } |
| 49860 | + } |
| 49861 | + }, |
| 49862 | + "com.github.openshift.api.security.v1.RunAsGroupStrategyOptions": { |
| 49863 | + "description": "RunAsGroupStrategyOptions defines the strategy type and options used to create the strategy.", |
| 49864 | + "type": "object", |
| 49865 | + "required": [ |
| 49866 | + "type" |
| 49867 | + ], |
| 49868 | + "properties": { |
| 49869 | + "gid": { |
| 49870 | + "description": "gid is the group id that containers must run as. Required for the MustRunAs strategy if not using namespace/service account allocated gids.", |
| 49871 | + "type": "integer", |
| 49872 | + "format": "int64" |
| 49873 | + }, |
| 49874 | + "gidRangeMax": { |
| 49875 | + "description": "gidRangeMax defines the max value for a strategy that allocates by range.", |
| 49876 | + "type": "integer", |
| 49877 | + "format": "int64" |
| 49878 | + }, |
| 49879 | + "gidRangeMin": { |
| 49880 | + "description": "gidRangeMin defines the min value for a strategy that allocates by range.", |
| 49881 | + "type": "integer", |
| 49882 | + "format": "int64" |
| 49883 | + }, |
| 49884 | + "ranges": { |
| 49885 | + "description": "ranges are the allowed ranges of gids. If you would like to force a single gid then supply a single range with the same start and end. When omitted, any gid is allowed (equivalent to RunAsAny strategy).", |
| 49886 | + "type": "array", |
| 49887 | + "items": { |
| 49888 | + "default": {}, |
| 49889 | + "$ref": "#/definitions/com.github.openshift.api.security.v1.RunAsGroupIDRange" |
| 49890 | + }, |
| 49891 | + "x-kubernetes-list-type": "atomic" |
| 49892 | + }, |
| 49893 | + "type": { |
| 49894 | + "description": "type is the strategy that will dictate what RunAsGroup is used in the SecurityContext. Valid values are \"MustRunAs\", \"MustRunAsRange\", and \"RunAsAny\".", |
| 49895 | + "type": "string" |
| 49896 | + } |
| 49897 | + } |
49878 | 49898 | } |
49879 | 49899 | } |
49880 | 49900 | } |
0 commit comments