Skip to content

Commit

Permalink
feat: [auth-server] update chart
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Oct 7, 2024
1 parent b995ef6 commit aab33c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/auth-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: [email protected]
name: Elegant Themes
name: auth-server
version: 1.0.3
version: 1.0.4
2 changes: 1 addition & 1 deletion charts/auth-server/templates/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
nginx.ingress.kubernetes.io/enable-rewrite-log: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
nginx.ingress.kubernetes.io/limit-whitelist: {{ include "addCIDRToIPs" .Values.ETDC_IP_ADDRESSES }}
nginx.ingress.kubernetes.io/limit-whitelist: {{ include "addCIDRToIPs" .Values.ALLOWED_IPS }}
spec:
tls:
- hosts:
Expand Down
2 changes: 1 addition & 1 deletion charts/auth-server/templates/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
stringData:
GITHUB_TOKEN: {{ .Values.GITHUB_TOKEN | quote }}
.env: |
ALLOWED_IPS={{ .Values.ALLOWED_IPS | quote }}
AUTH_SERVER_ENV={{ .Values.AUTH_SERVER_ENV | quote }}
AUTH_SERVER_PATH={{ .Values.INSTALL_PATH | quote }}
AUTH_SERVER_PORT={{ .Values.AUTH_SERVER_PORT }}
Expand All @@ -14,7 +15,6 @@ stringData:
IMAGE_VERSION={{ .Values.AUTH_SERVER_VERSION | quote }}
REDIS_HOSTNAME={{ .Values.REDIS_HOSTNAME | quote }}
REDIS_NAME={{ .Values.REDIS_NAME | quote }}
SWAGGER_ALLOWED_IPS={{ .Values.SWAGGER_ALLOWED_IPS | quote }}
VIRTUAL_HOST={{ .Values.VIRTUAL_HOST | quote }}
JWT_PRIVATE_KEY={{ .Values.JWT_PRIVATE_KEY | b64enc | quote }}
JWT_PUBLIC_KEY={{ .Values.JWT_PUBLIC_KEY | b64enc | quote }}
Expand Down
4 changes: 2 additions & 2 deletions charts/auth-server/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ALLOWED_IPS:
AUTH_SERVER_ENV:
AUTH_SERVER_PORT:
AUTH_SERVER_IMAGE:
AUTH_SERVER_REPO_URL:
AUTH_SERVER_SECRET:
AUTH_SERVER_VERSION:
ETDC_IP_ADDRESSES:
GITHUB_TOKEN:
GIT_REF:
INSTALL_PATH:
Expand All @@ -14,5 +14,5 @@ MEMORY_LIMIT:
REDIS_HOSTNAME:
REDIS_NAME:
REPLICAS:
SWAGGER_ALLOWED_IPS:
ALLOWED_IPS:
VIRTUAL_HOST:

0 comments on commit aab33c0

Please sign in to comment.