mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-13 18:04:20 -05:00
968cdc1a38
* cli: move internal packages Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: fix buildfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix exclude dir Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: move back libraries that will not be used by TF provider Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
36 lines
864 B
YAML
36 lines
864 B
YAML
{{- if or .Values.resourceQuotas.enabled (and (ne .Release.Namespace "kube-system") .Values.gke.enabled) }}
|
|
{{- if .Values.agent }}
|
|
apiVersion: v1
|
|
kind: ResourceQuota
|
|
metadata:
|
|
name: cilium-resource-quota
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
hard:
|
|
pods: {{ .Values.resourceQuotas.cilium.hard.pods | quote }}
|
|
scopeSelector:
|
|
matchExpressions:
|
|
- operator: In
|
|
scopeName: PriorityClass
|
|
values:
|
|
- system-node-critical
|
|
{{- end }}
|
|
{{- if .Values.operator.enabled }}
|
|
---
|
|
apiVersion: v1
|
|
kind: ResourceQuota
|
|
metadata:
|
|
name: cilium-operator-resource-quota
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
hard:
|
|
pods: {{ .Values.resourceQuotas.operator.hard.pods | quote }}
|
|
scopeSelector:
|
|
matchExpressions:
|
|
- operator: In
|
|
scopeName: PriorityClass
|
|
values:
|
|
- system-cluster-critical
|
|
{{- end }}
|
|
{{- end }}
|