Commit 4f55e15 Pascal Grimaud
authored
File tree 1 file changed +9
-0
lines changed
generators/openshift/templates
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ objects:
126
126
env:
127
127
- name: SPRING_PROFILES_ACTIVE
128
128
value: prod,api-docs
129
+ <% _ if (! app .serviceDiscoveryType || app .applicationType === ' uaa' ) { _% >
130
+ - name: JHIPSTER_SECURITY_AUTHENTICATION_JWT_BASE64_SECRET
131
+ value: YlhrdGMyVmpjbVYwTFhSdmEyVnVMWFJ2TFdOb1lXNW5aUzFwYmkxd2NtOWtkV04wYVc5dUxXRnVaQzEwYnkxclpXVndMV2x1TFdFdGMyVmpkWEpsTFhCc1lXTmwK
132
+ < % _ } _%>
129
133
<% _ if (app .serviceDiscoveryType === ' eureka' ) { _% >
130
134
- name: SPRING_CLOUD_CONFIG_URI
131
135
value: http: // admin:${jhipster.registry.password}@jhipster-registry:8761/config
@@ -238,7 +242,12 @@ objects:
238
242
type: LoadBalancer
239
243
ports:
240
244
- name: http
245
+ <% _ if (! app .serviceDiscoveryType || app .applicationType === ' uaa' ) { _% >
246
+ port: 80
247
+ targetPort: ${{APP_PORT }}
248
+ < % _ } else { _% >
241
249
port: ${{APP_PORT }}
250
+ < % _ } _%>
242
251
-
243
252
apiVersion: <%= KUBERNETES_CORE_API_VERSION %>
244
253
kind: Route
You can’t perform that action at this time.
0 commit comments