diff --git a/hack/operate.conf b/hack/operate.conf index 279aced..b512ad2 100644 --- a/hack/operate.conf +++ b/hack/operate.conf @@ -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 diff --git a/roles/gitea-ocp/templates/deployment.yml.j2 b/roles/gitea-ocp/templates/deployment.yml.j2 index 43fd909..f128cf8 100644 --- a/roles/gitea-ocp/templates/deployment.yml.j2 +++ b/roles/gitea-ocp/templates/deployment.yml.j2 @@ -23,6 +23,8 @@ spec: ports: - containerPort: 3000 protocol: TCP + - containerPort: 2022 + protocol: TCP readinessProbe: httpGet: path: / diff --git a/roles/gitea-ocp/templates/service.yml.j2 b/roles/gitea-ocp/templates/service.yml.j2 index 5e5d5a3..0bc83e7 100644 --- a/roles/gitea-ocp/templates/service.yml.j2 +++ b/roles/gitea-ocp/templates/service.yml.j2 @@ -13,5 +13,9 @@ spec: port: 3000 protocol: TCP targetPort: 3000 + - name: gitea-ssh + port: 2022 + protocol: TCP + targetPort: 2022 sessionAffinity: None type: ClusterIP