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

service status without spec #102

Closed wlan0 closed 6 years ago

wlan0 commented 6 years ago
wlan0@wlan0:~/code/go/src/github.com/koki/short/testdata/services$ cat service_spec_with_status.yaml apiVersion: v1
kind: Service
metadata:
  name: meta_test
  labels:
    app: meta_test
  annotations:
    meta: _test 
  namespace: test
  clusterName: test_cluster
status:
  loadBalancer:
    ingress:
    - ip: 10.10.1.10
      hostname: my.hostname
wlan0@wlan0:~/code/go/src/github.com/koki/short/testdata/services$ ../../bin/short -f service_spec_with_status.yaml 
service:
  annotations:
    meta: _test
  cluster: test_cluster
  labels:
    app: meta_test
  name: meta_test
  namespace: test
  version: v1