ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
18
services/minecraft/k8s/exception.yaml
Normal file
18
services/minecraft/k8s/exception.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: kyverno.io/v2
|
||||
kind: PolicyException
|
||||
metadata:
|
||||
name: minecraft-singleton
|
||||
namespace: kyverno
|
||||
annotations:
|
||||
policies.kyverno.io/reason: Minecraft owns one local world and permits one active server.
|
||||
quorate.internal/exception-owner: workloads
|
||||
spec:
|
||||
exceptions:
|
||||
- policyName: min-replicas
|
||||
ruleNames: [min-replicas]
|
||||
match:
|
||||
any:
|
||||
- resources:
|
||||
kinds: [Deployment]
|
||||
namespaces: [minecraft]
|
||||
names: [minecraft]
|
||||
Loading…
Reference in a new issue