Skip to content

Commit a0a1e3f

Browse files
author
Jimmyscene
committed
blah
1 parent 69886b6 commit a0a1e3f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def jobs():
4242
"containers": [
4343
{
4444
"name": name,
45-
"image": "openshift/perl" + ":" + tag,
45+
"image": "perl" + ":" + tag,
4646
"imagePullPolicy": "IfNotPresent",
4747
"command": [
4848
"perl",

gogo.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
tasks:
66
- name: Clean up old project
77
command: oc delete all --selector app={{project_name}}
8-
- name: Delete secrets
8+
- name: Delete project secrets
99
command: oc delete secret --selector app={{project_name}}
10+
- name: Delete docker config secrets
11+
command: oc delete secret docker-private
1012
- name: Create new App
1113
command: oc new-app openshift/templates/flask.yaml -p SOURCE_REPOSITORY_URL=https://github.com/Jimmyscene/django-ex.git
1214
- name: Give edit permissions to default sa
1315
command: oc policy add-role-to-user edit -z default
16+
- name: Add docker config
17+
command: oc secrets new docker-private .dockerconfigjson=$HOME/.docker/config.json

openshift/templates/flask.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ objects:
130130
timeoutSeconds: 3
131131
initialDelaySeconds: 3
132132
httpGet:
133-
path: "/"
133+
path: "/healthz"
134134
port: 5000
135135
livenessProbe:
136136
timeoutSeconds: 3

0 commit comments

Comments
 (0)