Skip to content

Commit

Permalink
Merge pull request #2 from B-urb/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
B-urb committed Sep 30, 2023
2 parents 62c9cec + 6b40702 commit cefda56
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/kubevoyage:${{ env.BRANCH_NAME }}
release:
needs: build-docker
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
Expand All @@ -97,6 +98,8 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
env:
GITHUB_TOKEN: ${{ secrets.PAT }}

- name: Run chart-releaser
uses: helm/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
apiVersion: v3
name: kubevoyage
description: A Helm chart for Kubernetes auth proxy
version: 0.1.0
2 changes: 1 addition & 1 deletion deploy/charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 80
- containerPort: 8080
env:
- name: DB_TYPE
value: {{ .Values.database.type }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 80
targetPort: 8080
selector:
app: {{ include "kubevoyage.fullname" . }}
10 changes: 5 additions & 5 deletions deploy/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ service:

database:
type: postgres # default type, can be changed to mysql, sqlite, etc.
host: localhost
port: 5432
user: dbuser
password: dbpassword
name: dbname
host:
port:
user:
password:
name:

0 comments on commit cefda56

Please sign in to comment.