Skip to content

Commit

Permalink
feat: support changing default port
Browse files Browse the repository at this point in the history
  • Loading branch information
rtoma committed Feb 2, 2021
1 parent 498bf29 commit a8eafdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/drone/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: {{ .Values.port }}
protocol: TCP
livenessProbe:
httpGet:
Expand Down
4 changes: 4 additions & 0 deletions charts/drone/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ podAnnotations: {}

updateStrategy: {}

# Listener port. Must be changed >1024 when securityContext set to runAsNonRoot
# When changed, remember to set env variable DRONE_SERVER_PORT=<port>
port: 80

service:
type: ClusterIP
port: 80
Expand Down

0 comments on commit a8eafdb

Please sign in to comment.