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

Support Older Types #10

Open wlan0 opened 6 years ago

wlan0 commented 6 years ago

Support older types.

For eg.

apiVersion: v1
kind: Pod
metadata:
  name: hostexec
  labels:
    app: hostexec
spec:
  containers:
  - name: hostexec
    image: gcr.io/kubernetes-e2e-test-images/hostexec-amd64:1.0
  securityContext:
    hostNetwork: true

hostNetwork is lost because it has moved to PodSpec now, and is not a part of securityContext anymore