koki / short

Manageable Kubernetes manifests through a composable, reusable syntax
https://docs.koki.io/short
Apache License 2.0
122 stars 14 forks source link

Priority Class Name #98

Closed wlan0 closed 6 years ago

wlan0 commented 6 years ago
wlan0@wlan0:~/code/go/src/github.com/koki/short/testdata/pods$ ../../bin/short -f pod_spec_with_priority_class_name.yaml 
pod:
  annotations:
    meta: _test
  cluster: test_cluster
  labels:
    app: meta_test
  name: meta_test
  namespace: test
  version: v1

wlan0@wlan0:~/code/go/src/github.com/koki/short/testdata/pods$ cat pod_spec_with_priority_class_name.yaml 
apiVersion: v1
kind: Pod
metadata:
  name: meta_test
  labels:
    app: meta_test
  annotations:
    meta: _test 
  namespace: test
  clusterName: test_cluster
spec:
  priorityClassName: SYSTEM