Fully working oc-k8s
This commit is contained in:
@@ -15,11 +15,6 @@ spec:
|
||||
labels:
|
||||
app: oc-catalog
|
||||
spec:
|
||||
volumes:
|
||||
- name: oc-pem
|
||||
secret:
|
||||
secretName: oc-peer-pem
|
||||
optional: true
|
||||
{{- if or (eq .Values.env "prod") (eq .Values.env "staging") }}
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
@@ -31,6 +26,9 @@ spec:
|
||||
- configMapRef:
|
||||
name: opencloud-config
|
||||
ports:
|
||||
- containerPort: 4002
|
||||
name: libp2p
|
||||
protocol: TCP
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
@@ -47,8 +45,4 @@ spec:
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
volumeMounts:
|
||||
- name: oc-pem
|
||||
mountPath: /app/pem
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
@@ -7,6 +7,9 @@ metadata:
|
||||
app: oc-catalog-svc
|
||||
spec:
|
||||
ports:
|
||||
- port: 4002
|
||||
targetPort: 4002
|
||||
name: libp2p
|
||||
- name: http
|
||||
port: 8080
|
||||
protocol: TCP
|
||||
|
||||
Reference in New Issue
Block a user