diff --git a/charts/drone/templates/deployment.yaml b/charts/drone/templates/deployment.yaml index ba17b54..d7fa753 100644 --- a/charts/drone/templates/deployment.yaml +++ b/charts/drone/templates/deployment.yaml @@ -37,7 +37,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http - containerPort: 80 + containerPort: {{ .Values.port }} protocol: TCP livenessProbe: httpGet: diff --git a/charts/drone/values.yaml b/charts/drone/values.yaml index f041adb..cd18345 100644 --- a/charts/drone/values.yaml +++ b/charts/drone/values.yaml @@ -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: 80 + service: type: ClusterIP port: 80