c12s-kubespray/roles/kubernetes-apps/registry/templates/registry-svc.yml.j2

17 lines
338 B
Django/Jinja

---
apiVersion: v1
kind: Service
metadata:
name: registry
namespace: {{ registry_namespace }}
labels:
k8s-app: registry
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "KubeRegistry"
spec:
selector:
k8s-app: registry
ports:
- name: registry
port: {{ registry_port }}
protocol: TCP