-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add New Port Mappings for Helm chart #352
Changes from 3 commits
515e365
217e934
b4fe2a4
0322ddc
33931ff
7120c04
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Docker Image Build for PRs | ||
|
||
# Run on every push to main + weekly, Sunday @ midnight | ||
# to keep the image fresh | ||
on: | ||
pull_request: | ||
types: [opened, reopened, sychronize] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Docker metadata | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: facebook/whatsapp_proxy | ||
tags: | | ||
type=raw,value={{date 'YYYYMMDD'}} | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Build PR | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: ./proxy | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 | ||
push: false | ||
tags: | | ||
${{ steps.meta.outputs.tags }} | ||
facebook/whatsapp_proxy:latest |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,9 +54,24 @@ spec: | |
{{- end}} | ||
{{- if .Values.service.stats_port }} | ||
- port: {{ .Values.service.stats_port }} | ||
targetPort: {{ .Values.service.stats_port }} | ||
targetPort: 8199 | ||
protocol: TCP | ||
name: stats | ||
{{- end}} | ||
{{- if .Values.service.media_port }} | ||
- port: {{ .Values.service.media_port }} | ||
targetPort: 587 | ||
protocl: TCP | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here too. |
||
name: media | ||
{{- end}} | ||
|
||
{{- if .Values.service.media_proxy_port }} | ||
- port: {{ .Values.service.media_proxy_port }} | ||
targetPort: 7777 | ||
protocol: TCP | ||
name: media | ||
{{- end}} | ||
|
||
|
||
selector: | ||
{{- include "whatsapp-proxy-chart.selectorLabels" . | nindent 4 }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,15 +48,18 @@ securityContext: {} | |
# runAsUser: 1000 | ||
|
||
service: | ||
type: ClusterIP | ||
annotations: {} | ||
type: LoadBalancer | ||
annotations: | ||
service.beta.kubernetes.io/aws-load-balancer-type: nlb | ||
port: 8080 | ||
# http_port: 80 | ||
# https_port: 443 | ||
# jabber_port: 5222 | ||
http_proxy_port: 8080 | ||
https_proxy_port: 8443 | ||
jabber_proxy_port: 8222 | ||
http_port: 80 | ||
https_port: 443 | ||
jabber_port: 5222 | ||
media_port: 587 | ||
# http_proxy_port: 8080 | ||
# https_proxy_port: 8443 | ||
# jabber_proxy_port: 8222 | ||
# media_proxy_port: 7777 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need this one as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, these are left as examples for other users |
||
# stats_port: 8199 | ||
|
||
ingress: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the comment accurate?