ENV para kubernetes/openshift
This commit is contained in:
1 parent
5487b994c1
commit
a5c4938071
1 file changed
+23
@@ -0,0 +1,23 @@
|
||||
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"
|
||||
|
||||
Reference in new issue
Block a user