File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,11 @@ You can access the Black Duck UI by https://${EXTERNAL_IP}
128128
129129``` bash
130130$ export SERVICE_TYPE=OpenShift
131- $ helm upgrade ${BD_NAME} synopsys/blackduck --namespace ${BD_NAME} --set exposedServiceType=${SERVICE_TYPE} --reuse-values
131+ $ export HOST_NAME=blackduck.example.com
132+ $ helm upgrade ${BD_NAME} synopsys/blackduck --namespace ${BD_NAME} \
133+ --set exposedServiceType=${SERVICE_TYPE} \
134+ --set route.hostname=${HOST_NAME} \
135+ --reuse-values
132136```
133137
134138you can use the following command to get the OpenShift routes
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ metadata:
2828 name : {{ .Release.Name }}-blackduck
2929 namespace : {{ .Release.Namespace }}
3030spec :
31- host : " "
31+ host : " {{ .Values.route.hostname }} "
3232 port :
3333 targetPort : port-443
3434 tls :
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ exposedServiceType: NodePort
2727# custom port to expose the NodePort service on
2828exposedNodePort : " "
2929
30+ # The hostname for the OpenShift route. An empty hostname lets OpenShift autogenerate the hostname.
31+ route :
32+ hostname : " "
33+
3034# enable Persistent Storage for containers
3135enablePersistentStorage : true
3236# it will apply to all PVC's storage class but it can be override at co# ntainer level
You can’t perform that action at this time.
0 commit comments