Reference Airship manifests, CICD, and reference architecture.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
treasuremap/type/foundry/network/KubernetesNetwork.yaml

97 lines
2.4 KiB

---
schema: promenade/KubernetesNetwork/v1
metadata:
schema: metadata/Document/v1
name: kubernetes-network
layeringDefinition:
abstract: false
layer: type
storagePolicy: cleartext
substitutions:
# DNS
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .dns.cluster_domain
dest:
path: .dns.cluster_domain
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .dns.service_ip
dest:
path: .dns.service_ip
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .dns.upstream_servers
dest:
path: .dns.upstream_servers
# Kubernetes IPs
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.api_service_ip
dest:
path: .kubernetes.service_ip
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.pod_cidr
dest:
path: .kubernetes.pod_cidr
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.service_cidr
dest:
path: .kubernetes.service_cidr
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.apiserver_port
dest:
path: .kubernetes.apiserver_port
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.haproxy_port
dest:
path: .kubernetes.haproxy_port
# etcd IPs
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .etcd.container_port
dest:
path: .etcd.container_port
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .etcd.haproxy_port
dest:
path: .etcd.haproxy_port
# proxy
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .proxy.http
dest:
path: .proxy.url
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .proxy.no_proxy
dest:
path: .proxy.additional_no_proxy
data:
dns:
bootstrap_validation_checks:
- calico-etcd.kube-system.svc.cluster.local
- kubernetes-etcd.kube-system.svc.cluster.local
- kubernetes.default.svc.cluster.local
...