Skip to content

Commit

Permalink
charts/snowplow-iglu-server: Add support for sending HSTS headers (cl…
Browse files Browse the repository at this point in the history
…oses #154)
  • Loading branch information
jparavisini committed Jan 18, 2024
1 parent 6c423d9 commit 84943dd
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 0.1.61 (2024-01-18)
---------------------------
charts/snowplow-iglu-server: Add support for sending HSTS headers (#154)

Version 0.1.60 (2023-12-18)
---------------------------
charts/service-deployment: Allow disabling SA once bound (#152)
Expand Down
4 changes: 2 additions & 2 deletions charts/snowplow-iglu-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: snowplow-iglu-server
description: A Helm Chart to deploy the Snowplow Iglu Server project
version: 0.3.1
appVersion: "0.10.0"
version: 0.4.0
appVersion: "0.12.0"
icon: https://raw.githubusercontent.com/snowplow-devops/helm-charts/master/docs/logo/snowplow.png
home: https://github.com/snowplow-devops/helm-charts
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/snowplow-iglu-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ You will need to fill these targeted fields:
| service.config.patchesAllowed | bool | `false` | Whether to allow schema patching |
| service.config.repoServer.idleTimeout | string | `"65 seconds"` | |
| service.config.repoServer.maxConnections | int | `16384` | |
| service.config.repoServer.hsts.enable | bool | `true` | Whether to enable sending HSTS headers (>=0.12.0) |
| service.config.secrets.superApiKey | string | `""` | Lowercase uuidv4 to use as admin apikey of the service (default: auto-generated) |
| service.deploySetupHooks | bool | `true` | Whether to run the post-deploy setup hooks |
| service.gcp.deployProxy | bool | `false` | Whether to use CloudSQL Proxy (note: requires GCP service account to be attached) |
Expand Down
2 changes: 2 additions & 0 deletions charts/snowplow-iglu-server/templates/iglu-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ spec:
value: "{{ .Values.service.config.repoServer.maxConnections }}"
- name : "CONFIG_FORCE_iglu_repoServer_idleTimeout"
value: "{{ .Values.service.config.repoServer.idleTimeout }}"
- name : "CONFIG_FORCE_iglu_repoServer_hsts_enable"
value: "{{ .Values.service.config.repoServer.hsts.enable }}"
- name : "CONFIG_FORCE_iglu_database_type"
value: "{{ include "iglu.service.config.database.type" . }}"
{{- if .Values.service.gcp.deployProxy }}
Expand Down
2 changes: 2 additions & 0 deletions charts/snowplow-iglu-server/values-aws.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ service:
repoServer:
maxConnections: 16384
idleTimeout: "65 seconds"
hsts:
enable: true
database:
type: "postgres"
host: "<host>"
Expand Down
2 changes: 2 additions & 0 deletions charts/snowplow-iglu-server/values-azure.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ service:
repoServer:
maxConnections: 16384
idleTimeout: "65 seconds"
hsts:
enable: true
database:
type: "postgres"
port: 5432
Expand Down
2 changes: 2 additions & 0 deletions charts/snowplow-iglu-server/values-gcp.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ service:
repoServer:
maxConnections: 16384
idleTimeout: "65 seconds"
hsts:
enable: true
database:
type: "postgres"
port: 5432
Expand Down
2 changes: 2 additions & 0 deletions charts/snowplow-iglu-server/values-local.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ service:
repoServer:
maxConnections: 16384
idleTimeout: "65 seconds"
hsts:
enable: true
database:
type: "postgres"
host: "<host>"
Expand Down
4 changes: 3 additions & 1 deletion charts/snowplow-iglu-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ service:
port: 8080
image:
repository: "snowplow/iglu-server"
tag: "0.10.0-distroless"
tag: "0.12.0-distroless"
# -- Whether the repository is public
isRepositoryPublic: true
# -- The image pullPolicy to use
Expand Down Expand Up @@ -45,6 +45,8 @@ service:
repoServer:
maxConnections: 16384
idleTimeout: "65 seconds"
hsts:
enable: true
database:
# -- Can be either 'dummy' (in-memory) or 'postgres'
type: "dummy"
Expand Down

0 comments on commit 84943dd

Please sign in to comment.