mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
29 lines
551 B
YAML
29 lines
551 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: registry
|
|
labels:
|
|
name: registry
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
name: registry
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: registry
|
|
spec:
|
|
containers:
|
|
- name: registry
|
|
image: caicloud/harbor_registry:2.3.0
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 5000
|
|
- containerPort: 5001
|
|
volumeMounts:
|
|
- name: storage
|
|
mountPath: /storage
|
|
volumes:
|
|
- name: storage
|
|
emptyDir: {}
|