Skip to content

Commit

Permalink
nginx proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
notevery committed Nov 15, 2022
1 parent f1930f4 commit b48e25b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion arkid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: arkid
spec:
chart: arkid
version: 3.1.9
version: 3.2.0
repo: https://harbor.longguikeji.com/chartrepo/public
targetNamespace: arkid
valuesContent: |-
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
category: sso
apiVersion: v2
name: arkid
version: 3.1.9
version: 3.2.0
appVersion: "2.6.5"
kubeVersion: ">= 1.13.0 < 1.23.12"
description: ArkID is an enterprise SSO solutions, it supports LDAP, OpenID, SAML, OAuth and more
Expand Down
10 changes: 2 additions & 8 deletions chart/templates/deployment-be.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ spec:
name: arkid-data-be
subPath: metadatas
- mountPath: /nginx
name: portal-config
name: arkid-data-be
subPath: nginx
{{- if .Values.be.nodeSelector }}
nodeSelector:
{{ toYaml .Values.be.nodeSelector | indent 8 }}
Expand All @@ -169,10 +170,3 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
- name: portal-config
{{- if .Values.persistence.init }}
persistentVolumeClaim:
claimName: "{{ include "arkid.fullname" . }}-portal"
{{- else }}
emptyDir: {}
{{- end }}
7 changes: 4 additions & 3 deletions chart/templates/deployment-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ spec:
value: 'Asia/Shanghai'
volumeMounts:
- mountPath: /etc/nginx/conf.d
name: portal-config
name: arkid-data-be
subPath: nginx
- name: settings-local
mountPath: "/etc/nginx/conf.d/default.conf"
subPath: "default.conf"
Expand All @@ -76,10 +77,10 @@ spec:
- name: settings-local
configMap:
name: "{{ template "arkid.fullname" . }}"
- name: portal-config
- name: arkid-data-be
{{- if .Values.persistence.init }}
persistentVolumeClaim:
claimName: "{{ include "arkid.fullname" . }}-portal"
claimName: "{{ include "arkid.fullname" . }}"
{{- else }}
emptyDir: {}
{{- end }}

0 comments on commit b48e25b

Please sign in to comment.