Skip to content
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

Added ALLOW_HOME_VIEW toggle to Switcher Management #20

Merged
merged 1 commit into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.1.0
with:
version: v3.12.1
version: v3.13.3

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ helm uninstall switcherapi --namespace switcherapi
| `management.env.switcherApiUrl` | Switcher API URL | `http://localhost:3000` |
| `management.env.switcherManagementUrl`| Management callback URL | `http://localhost:8080` |
| `management.env.switcherSlackUrl` | Switcher Slack App URL | `http://localhost:5000` |
| `management.env.allowHomeView` | Allow Home View | false |
| `management.env.googleRecaptcha` | Google ReCaptcha Public Key | `` |
| `management.env.bitbucketClientId` | Bitbucket Client Id | `` |
| `management.env.githubClientId` | GitHub Client Id | `` |
Expand Down
2 changes: 1 addition & 1 deletion charts/switcher-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ maintainers:
url: https://github.com/petruki

type: application
version: 1.2.0
version: 1.2.1
appVersion: "latest"
1 change: 1 addition & 0 deletions charts/switcher-api/templates/manager/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
{{- include "switcher-management.labels" . | nindent 4 }}
data:
ALLOW_HOME_VIEW: {{ .Values.management.env.allowHomeView | quote }}
SWITCHERAPI_URL: {{ .Values.management.env.switcherApiUrl }}
SM_IP: {{ .Values.management.env.switcherManagementUrl }}
GOOGLE_RECAPTCHA: {{ .Values.management.env.googleRecaptcha }}
Expand Down
1 change: 1 addition & 0 deletions charts/switcher-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ management:
portTls: 443

env:
allowHomeView: false
switcherApiUrl: "http://localhost:3000"
switcherManagementUrl: "http://localhost:8080"
switcherSlackUrl: "http://localhost:5000"
Expand Down
Loading