Ajuste para API privilegiada
This commit is contained in:
1 parent
8e9f080f73
commit
10efdab397
6 files changed
+171
-106
No files matched your search
@@ -1,23 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: harbor-security-portal
|
||||
name: harbor-vuln-portal
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: harbor-security-portal
|
||||
app: harbor-vuln-portal
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: harbor-security-portal
|
||||
app: harbor-vuln-portal
|
||||
spec:
|
||||
containers:
|
||||
- name: portal
|
||||
image: tu-registro-interno/harbor-security-portal:latest
|
||||
- name: proxy
|
||||
image: tu-registry/harbor-vuln-portal:latest
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
- name: HARBOR_URL
|
||||
value: "https://harbor.tu-empresa.com"
|
||||
value: "https://harbor.tu-dominio.com"
|
||||
- name: HARBOR_ROBOT
|
||||
value: "usuario"
|
||||
- name: HARBOR_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: harbor-robot-secret # Recomendado usar Secrets en K8s/OpenShift
|
||||
key: token
|
||||
|
||||
|
||||
Reference in new issue
Block a user