mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-08-23 22:26:34 +00:00
* fix typo * fix failure message * fix changelog * fix missingPodDisruptionBudget validation * Update failure.empty-labels.yaml * Update failure.no-metadata.yaml * INSIGHTS-159 - use go templating instead of custom function validation (#1056) * use go templating instead of custom function validation * fix changelog
23 lines
387 B
YAML
23 lines
387 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zookeeper
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels: {} # empty labels
|
|
spec:
|
|
containers:
|
|
- name: zookeeper
|
|
image: zookeeper
|
|
---
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: zookeeper-pdb
|
|
spec:
|
|
minAvailable: 2
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: zookeeper
|