24 lines
486 B
YAML
24 lines
486 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: harbor-security-portal
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: harbor-security-portal
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: harbor-security-portal
|
|
spec:
|
|
containers:
|
|
- name: portal
|
|
image: tu-registro-interno/harbor-security-portal:latest
|
|
ports:
|
|
- containerPort: 8080
|
|
env:
|
|
- name: HARBOR_URL
|
|
value: "https://harbor.tu-empresa.com"
|
|
|