Skip to content

Commit

Permalink
enable onprem bitbucket auth (#124)
Browse files Browse the repository at this point in the history
* enable onprem bitbucket auth

* bump chart version
  • Loading branch information
rarmatei committed Jul 8, 2024
1 parent f694263 commit 257db7a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
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

0 comments on commit 257db7a

Please sign in to comment.