Skip to content

Commit 481e66e

Browse files
Enable TLS for version 1 (#34)
* fix service spec indentation Signed-off-by: Michael Valdron <mvaldron@redhat.com> * enable tls Signed-off-by: Michael Valdron <mvaldron@redhat.com> --------- Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 3e17023 commit 481e66e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

deploy.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ apiVersion: v1
2929
metadata:
3030
name: my-go-svc
3131
spec:
32-
ports:
33-
- name: http-8081
34-
port: 8081
35-
protocol: TCP
36-
targetPort: 8081
37-
selector:
38-
app: go-app
32+
ports:
33+
- name: http-8081
34+
port: 8081
35+
protocol: TCP
36+
targetPort: 8081
37+
selector:
38+
app: go-app

devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ components:
3636
- name: http-8081
3737
targetPort: 8081
3838
path: /
39+
secure: true
3940
commands:
4041
- id: build-image
4142
apply:

0 commit comments

Comments
 (0)