820d8e6ce6
New override are added to allow installation of the registry on different ports than ``5000``. The default port is unchanged from previous versions
18 lines
380 B
Django/Jinja
18 lines
380 B
Django/Jinja
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: registry
|
|
namespace: {{ registry_namespace }}
|
|
labels:
|
|
k8s-app: registry
|
|
kubernetes.io/cluster-service: "true"
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
kubernetes.io/name: "KubeRegistry"
|
|
spec:
|
|
selector:
|
|
k8s-app: registry
|
|
ports:
|
|
- name: registry
|
|
port: {{ registry_port }}
|
|
protocol: TCP
|