Skip to content

Commit

Permalink
Merge pull request #127 from jecluis/wip-wrap-container-entrypoint
Browse files Browse the repository at this point in the history
charts/deployment: adjust for wrapper script and release v0.23.0
  • Loading branch information
jecluis authored Nov 27, 2023
2 parents 9e109d8 + 775df37 commit 2f8d5b1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion charts/s3gw/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2
name: s3gw
version: 0.22.0
version: 0.23.0
kubeVersion: ">=1.14"
description: |
Easy-to-use Open Source and Cloud Native S3 service for use on Rancher's
Expand Down
6 changes: 2 additions & 4 deletions charts/s3gw/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ questions:
group: "Advanced"
show_subquestion_if: true
subquestions:

- variable: imageRegistry
default:
description: "Image Registry"
Expand Down Expand Up @@ -329,8 +328,8 @@ questions:
group: "Advanced"

- variable: logLevel
default: "1"
description: "s3gw pod log level, lower values are less verbose"
default: "none"
description: "s3gw pod log level, allowed values: 'none', 'low', 'medium', 'high'"
label: "s3gw pod log level"
required: false
type: string
Expand All @@ -345,7 +344,6 @@ questions:
group: "COSI"
show_subquestion_if: true
subquestions:

- variable: cosi.driver.imageName
default: ""
description: "Image name for the COSI Driver"
Expand Down
16 changes: 6 additions & 10 deletions charts/s3gw/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,22 @@ spec:
image: {{ include "s3gw.image" . | quote }}
imagePullPolicy: {{ default "IfNotPresent" .Values.imagePullPolicy }}
args:
- "--rgw-dns-name"
- "--dns-name"
{{- if .Values.ingress.enabled }}
- {{ include "s3gw.serviceName" . }}.{{ .Values.publicDomain }},
{{ include "s3gw.serviceName" . }}.{{ .Release.Namespace }}.{{ .Values.privateDomain }}
{{- else}}
- {{ include "s3gw.serviceName" . }}.{{ .Release.Namespace }}.{{ .Values.privateDomain }}
{{- end }}
- "--rgw-backend-store"
- sfs
- "--debug-rgw"
- "--debug"
- '{{ .Values.logLevel }}'
- "--rgw_frontends"
{{- if or .Values.useCertManager .Values.tls.publicDomain.crt }}
- "beast port=7480 ssl_port=7481
ssl_certificate=/s3gw-cluster-ip-tls/tls.crt
ssl_private_key=/s3gw-cluster-ip-tls/tls.key"
{{ else }}
- "beast port=7480"
- "--cert"
- "/s3gw-cluster-ip-tls/tls.crt"
- "/s3gw-cluster-ip-tls/tls.key"
{{ end }}
{{- range $.Values.rgwCustomArgs }}
- "--"
- {{ . | quote}}
{{- end }}
env:
Expand Down
4 changes: 2 additions & 2 deletions charts/s3gw/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ storageClass:
# email: [email protected]

# s3gw pod log level.
# Valid values are positive integers starting from 0.
# Valid values are "none", "low", "medium", and "high".
# Higher values are more verbose.
logLevel: "1"
logLevel: "none"

# --- Advanced Configuration ---

Expand Down

0 comments on commit 2f8d5b1

Please sign in to comment.