mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-09 18:56:57 +00:00
* added mutation field in checks and config * added test * fix tests * revert resolve export * remove Patched resources as moving that to separate functionality apart from validation * go mod tidy * move mutation to the container level * change prefix based on the resource kind * collect all mutations from results and apply * added test for cronjob and deployment apart from just pod * test cronjob prefix * return a copy of mutation * fix tests and comments * address feedback comments * fix warning formating * refactor getJSONSchemaPrefix function
22 lines
372 B
YAML
22 lines
372 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-deployment
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:1.14.2
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80 |