Files
polaris/pkg/kube/test_files/test_2/multi.yaml
Bobby Brennan 520d6572e4 Add ability to audit a directory of files (#70)
* refactor kubernetes API usage

* add ability to audit directory

* refactor a bit

* fix return statement

* fix main.go

* add ability to audit multiple resources in a single file
2019-05-07 12:42:57 -04:00

54 lines
1.1 KiB
YAML

---
# Source: fairwinds/templates/namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
name: fairwinds
---
# Source: fairwinds/templates/dashboard.deployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
checksum/config: '5702aca235561630172c22b6b900f5cebd4e82fae60389df18a3537ff82e2f09'
name: fairwinds-dashboard
namespace: fairwinds
labels:
app: fairwinds
component: dashboard
spec:
replicas: 1
selector:
matchLabels:
app: fairwinds
component: dashboard
template:
metadata:
labels:
app: fairwinds
component: dashboard
spec:
containers:
- command:
- fairwinds
- --dashboard
image: 'quay.io/reactiveops/fairwinds:master'
imagePullPolicy: 'Always'
name: dashboard
---
# Source: fairwinds/templates/secret.yaml
---
# Source: fairwinds/templates/webhook.deployment.yaml
---
# Source: fairwinds/templates/webhook.service.yaml
---
# Source: fairwinds/templates/namespace.yaml
apiVersion: v1
kind: Namespace
metadata:
name: fairwinds-2
---