Skip to content

Commit

Permalink
Expose SSH service - still need a route for external traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
andykrohg authored and jharmison-redhat committed Feb 17, 2021
1 parent cdde003 commit fd9d65e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hack/operate.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IMG=quay.io/redhatgov/gitea-operator
KIND=Gitea
CR_SAMPLE=redhatgov_v1alpha1_gitea_openshift.yaml
VERSION=0.0.5
VERSION=0.0.6
CHANNELS=alpha
2 changes: 2 additions & 0 deletions roles/gitea-ocp/templates/deployment.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
ports:
- containerPort: 3000
protocol: TCP
- containerPort: 2022
protocol: TCP
readinessProbe:
httpGet:
path: /
Expand Down
4 changes: 4 additions & 0 deletions roles/gitea-ocp/templates/service.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ spec:
port: 3000
protocol: TCP
targetPort: 3000
- name: gitea-ssh
port: 2022
protocol: TCP
targetPort: 2022
sessionAffinity: None
type: ClusterIP

0 comments on commit fd9d65e

Please sign in to comment.