Commit aac4c7c 1 parent 3d8f2ed commit aac4c7c Copy full SHA for aac4c7c
File tree 2 files changed +25
-0
lines changed
kubewarden-crds/templates
2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -1142,6 +1142,16 @@ spec:
1142
1142
items :
1143
1143
type : string
1144
1144
type : array
1145
+ limits :
1146
+ additionalProperties :
1147
+ anyOf :
1148
+ - type : integer
1149
+ - type : string
1150
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1151
+ x-kubernetes-int-or-string : true
1152
+ description : Limits describes the maximum amount of compute resources
1153
+ allowed.
1154
+ type : object
1145
1155
maxUnavailable :
1146
1156
anyOf :
1147
1157
- type : integer
@@ -1160,6 +1170,18 @@ spec:
1160
1170
description : Replicas is the number of desired replicas.
1161
1171
format : int32
1162
1172
type : integer
1173
+ requests :
1174
+ additionalProperties :
1175
+ anyOf :
1176
+ - type : integer
1177
+ - type : string
1178
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
1179
+ x-kubernetes-int-or-string : true
1180
+ description : Requests describes the minimum amount of compute resources
1181
+ required. If Request is omitted for, it defaults to Limits if that
1182
+ is explicitly specified, otherwise to an implementation-defined
1183
+ value
1184
+ type : object
1163
1185
securityContexts :
1164
1186
description : Security configuration to be used in the Policy Server
1165
1187
workload. The field allows different configurations for the pod
Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ policyServer:
115
115
sourceAuthorities : {}
116
116
# affinity for pods of the default PolicyServer
117
117
affinity : {}
118
+ # limits and requests, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
119
+ limits : {}
120
+ requests : {}
118
121
crdVersion : " policies.kubewarden.io/v1"
119
122
recommendedPolicies :
120
123
enabled : False
You can’t perform that action at this time.
0 commit comments