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

hostname and subdomain #96

Closed wlan0 closed 6 years ago

wlan0 commented 6 years ago
apiVersion: v1
kind: Pod
metadata:
  name: meta_test
  labels:
    app: meta_test
  annotations:
    meta: _test 
  namespace: test
  clusterName: test_cluster
spec:
  subdomain: docs
  hostname: koki.io

This should result in fqdn of docs.koki.io

The current result looks like

pod:
  annotations:
    meta: _test
  cluster: test_cluster
  hostname: koki.io.docs
  labels:
    app: meta_test
  name: meta_test
  namespace: test
  version: v1
ublubu commented 6 years ago

fixed. not sure in which PR.