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

enable onprem bitbucket auth #124

Merged
merged 2 commits into from
Jul 8, 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
5 changes: 5 additions & 0 deletions AUTH-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Then update your `helm-values.yaml` and `secrets.yaml`:
```yaml
# helm-values.yml
github:
pr:
apiUrl: 'if-using-self-hosted'
auth:
enabled: true

Expand Down Expand Up @@ -42,8 +44,10 @@ Then update your `helm-values.yaml` and `secrets.yaml`:
```yaml
# helm-values.yml
gitlab:
apiUrl: 'if-using-self-hosted'
auth:
enabled: true


secret:
name: 'cloudsecret'
Expand Down Expand Up @@ -76,6 +80,7 @@ Then update your `helm-values.yaml` and `secrets.yaml`:
```yaml
# helm-values.yml
bitbucket:
apiUrl: 'if-using-self-hosted'
auth:
enabled: true

Expand Down
2 changes: 1 addition & 1 deletion charts/nx-cloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nx-cloud
description: Nx Cloud Helm Chart
type: application
version: 0.15.4
version: 0.15.5
maintainers:
- name: nx
url: "https://nx.app/"
Expand Down
4 changes: 4 additions & 0 deletions charts/nx-cloud/templates/_auth-helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
secretKeyRef:
name: {{ .Values.secret.name }}
key: {{ .Values.secret.bitbucketAppSecret }}
{{ if .Values.bitbucket.apiUrl }}
- name: BITBUCKET_API_URL
value: {{ .Values.bitbucket.apiUrl }}
{{- end }}
{{- end }}

{{- if .Values.saml.enabled }}
Expand Down
Loading