diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-07 09:37:29 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-07 09:37:29 +0300 |
| commit | e70b2730de420a84b5da9501bc705913aba3e289 (patch) | |
| tree | 413cf1c47446dda5d410ec462ae6f76c9934bb5d /f3s/registry/helm-chart/templates/deployment.yaml | |
| parent | 1b204bffe48809c6695ce22d6e05851e22e3cc5d (diff) | |
modify regtistry to be a helm chart as well and some refactor
Diffstat (limited to 'f3s/registry/helm-chart/templates/deployment.yaml')
| -rw-r--r-- | f3s/registry/helm-chart/templates/deployment.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/f3s/registry/helm-chart/templates/deployment.yaml b/f3s/registry/helm-chart/templates/deployment.yaml new file mode 100644 index 0000000..70522f8 --- /dev/null +++ b/f3s/registry/helm-chart/templates/deployment.yaml @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: docker-registry + namespace: infra + labels: + app: docker-registry +spec: + replicas: 1 + selector: + matchLabels: + app: docker-registry + template: + metadata: + labels: + app: docker-registry + spec: + containers: + - name: registry + image: registry:2 + ports: + - containerPort: 5000 + volumeMounts: + - name: registry-storage + mountPath: /var/lib/registry + volumes: + - name: registry-storage + persistentVolumeClaim: + claimName: docker-registry-pvc |
