Skip to content

Commit

Permalink
fix: Use port 8443 for ssl (#1880)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleixhub committed May 6, 2024
1 parent 4860f1a commit c9d9d3e
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions catalog/helm/templates/status/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ spec:
livenessProbe:
initialDelaySeconds: 30
tcpSocket:
port: 443
port: 8080
timeoutSeconds: 1
{{- with .Values.status.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- containerPort: 443
- containerPort: 8443
name: public
protocol: TCP
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion catalog/helm/templates/status/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
- name: proxy
port: 443
protocol: TCP
targetPort: 443
targetPort: 8443
selector:
{{- include "babylonCatalog.statusSelectorLabels" . | nindent 4 }}
type: ClusterIP
2 changes: 1 addition & 1 deletion catalog/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ status:
name: # default use chart name + '-status'
image:
#override:
tag: v0.0.3
tag: v0.0.4
repository: quay.io/redhat-gpte/babylon-catalog-status
pullPolicy: IfNotPresent
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion catalog/status/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ USER 1001
CMD /usr/libexec/s2i/run

EXPOSE 8080
EXPOSE 443
EXPOSE 8443
2 changes: 1 addition & 1 deletion catalog/status/nginx-default-cfg/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
server {
listen 8080;
listen 443 ssl;
listen 8443 ssl;
ssl_certificate_key /etc/tls/private/tls.key;
ssl_certificate /etc/tls/private/tls.crt;
ssl_session_timeout 5m;
Expand Down
4 changes: 2 additions & 2 deletions helm/templates/catalog/interfaces/status/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ spec:
livenessProbe:
initialDelaySeconds: 30
tcpSocket:
port: 443
port: 8080
timeoutSeconds: 1
{{- with $status.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- containerPort: 443
- containerPort: 8443
name: public
protocol: TCP
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/catalog/interfaces/status/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- name: proxy
port: 443
protocol: TCP
targetPort: 443
targetPort: 8443
selector:
{{- include "babylon.selectorLabels" $ | nindent 4 }}
app.kubernetes.io/component: catalog-status
Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ catalog:
memory: "256Mi"
status:
image:
tag: v0.0.3
tag: v0.0.4
repository: quay.io/redhat-gpte/babylon-catalog-status
pullPolicy: IfNotPresent
replicaCount: 1
Expand Down

0 comments on commit c9d9d3e

Please sign in to comment.