Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

charts/snowplow-iglu-server support distroless docker images #80

Merged
merged 2 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 0.1.28 (2023-01-03)
---------------------------
charts/snowplow-iglu-server: support distroless docker images (#79)

Version 0.1.27 (2022-12-05)
---------------------------
charts/snowplow-iglu-server: Update application to v0.8.7 (#77)
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: snowplow-iglu-server
description: A Helm Chart to deploy the Snowplow Iglu Server project
version: 0.1.8
version: 0.1.9
appVersion: "0.8.7"
icon: https://raw.githubusercontent.com/snowplow-devops/helm-charts/master/docs/logo/snowplow.png
home: https://github.com/snowplow-devops/helm-charts
Expand Down
11 changes: 3 additions & 8 deletions charts/snowplow-iglu-server/templates/iglu-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ spec:
imagePullPolicy: {{ default "IfNotPresent" .Values.service.image.pullPolicy }}

args:
- "-Dconfig.override_with_env_vars=true"
{{- if ne .Values.service.config.hoconBase64 "" }}
- "--config"
- "/etc/config/config.hocon"
{{- end }}
- {{if ne .Values.service.config.hoconBase64 "" }} "/etc/config/config.hocon" {{ else }} "/dev/null" {{ end }}
jbeemster marked this conversation as resolved.
Show resolved Hide resolved

ports:
- containerPort: {{ .Values.service.port }}
Expand Down Expand Up @@ -75,10 +72,8 @@ spec:
value: "{{ .Values.service.config.database.dbname }}"
- name : "CONFIG_FORCE_iglu_patchesAllowed"
value: "{{ .Values.service.config.patchesAllowed }}"
{{- if not (empty .Values.service.config.javaOpts) }}
- name : "JAVA_OPTS"
value: "{{ .Values.service.config.javaOpts }}"
{{- end }}
- name : "JDK_JAVA_OPTIONS"
value: "-Dconfig.override_with_env_vars=true {{ .Values.service.config.javaOpts }}"

envFrom:
- secretRef:
Expand Down
3 changes: 2 additions & 1 deletion charts/snowplow-iglu-server/templates/iglu-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ spec:
imagePullPolicy: Always

args:
- "-Dconfig.override_with_env_vars=true"
- "setup"

env:
- name: "JDK_JAVA_OPTIONS"
value: "-Dconfig.override_with_env_vars=true"
{{- if .Values.service.gcp.deployProxy }}
- name : "CONFIG_FORCE_iglu_database_host"
value: {{ include "iglu.cloudsqlproxy.host" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/values-aws.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ service:
port: 8080
image:
repository: "snowplow/iglu-server"
tag: "0.8.7"
tag: "0.8.7-distroless"
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 75
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/values-gcp.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ service:
port: 8080
image:
repository: "snowplow/iglu-server"
tag: "0.8.7"
tag: "0.8.7-distroless"
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 75
Expand Down
2 changes: 1 addition & 1 deletion charts/snowplow-iglu-server/values-local.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service:
port: 8080
image:
repository: "snowplow/iglu-server"
tag: "0.8.7"
tag: "0.8.7-distroless"
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 75
Expand Down
2 changes: 1 addition & 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.8.7"
tag: "0.8.7-distroless"
jbeemster marked this conversation as resolved.
Show resolved Hide resolved
# -- Whether the repository is public
isRepositoryPublic: true
# -- The image pullPolicy to use
Expand Down