Skip to content

Commit 3bf7db7

Browse files
committed
fix made post testing
1 parent deab028 commit 3bf7db7

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

roles/chatbot/templates/chatbot.deployment.yaml.j2

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ spec:
120120
- name: lm-stack-tls-certs
121121
mountPath: /app-root/certs/
122122
readOnly: true
123-
- name: service-ca-bundle
124-
mountPath: /var/run/secrets/kubernetes.io/serviceaccount/
125-
readOnly: true
126123
{% if is_openshift %}
127124
- name: server-tls-certs
128125
mountPath: /var/run/secrets/kubernetes.io/serviceaccount/
@@ -260,13 +257,7 @@ spec:
260257
path: tls.crt
261258
- key: tls.key
262259
path: tls.key
263-
- name: service-ca-bundle
264-
configMap:
265-
name: openshift-service-ca.crt
266-
defaultMode: 0644
267-
items:
268-
- key: service-ca.crt
269-
path: service-ca.crt
260+
270261
{% if is_openshift %}
271262
- name: server-tls-certs
272263
configMap:

roles/chatbot/templates/chatbot.service.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
protocol: TCP
1919
targetPort: 8321
2020
name: https-api
21-
clusterIP: None
21+
type: ClusterIP
2222
selector:
2323
{{ lookup("template", "../common/templates/labels/common.yaml.j2") | indent(width=4) | trim }}
2424
app.kubernetes.io/component: '{{ deployment_type }}-chatbot-api'

0 commit comments

Comments
 (0)