Skip to content

Commit 2f46f02

Browse files
Enable TLS for version 1 (#39)
* enable tls Signed-off-by: Michael Valdron <[email protected]> * fix deploy.yaml indentation Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]>
1 parent c4f07d1 commit 2f46f02

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

deploy.yaml

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

devfile.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ components:
3737
kubernetes:
3838
uri: deploy.yaml
3939
endpoints:
40-
- name: http-8081
41-
targetPort: 8081
42-
path: /
40+
- name: http-8081
41+
targetPort: 8081
42+
path: /
43+
secure: true
4344
commands:
4445
- id: build-image
4546
apply:

0 commit comments

Comments
 (0)