Skip to content

Commit

Permalink
Merge pull request #103 from MediaMarktSaturn/support-statefulset
Browse files Browse the repository at this point in the history
[Application] Support statefulset choice
  • Loading branch information
heubeck committed Mar 6, 2024
2 parents d189da6 + ca3db68 commit 4a7eb97
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 340 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ autoscaling:

image:
repository: quay.io/heubeck/examiner
tag: 1.11.26
tag: 1.12.9
pullPolicy: IfNotPresent

# ImagePolicy and check period for automated updates
Expand Down
4 changes: 2 additions & 2 deletions chart-tests/application/ci/test-sidecar-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sidecars:
- name: sidekick
image:
repository: quay.io/heubeck/examiner
tag: 1.11.26
tag: 1.12.9
env:
ECHO_VALUE: yehaaa
QUARKUS_HTTP_PORT: 9090
Expand All @@ -31,7 +31,7 @@ sidecars:
- name: kickback
image:
repository: quay.io/heubeck/examiner
tag: 1.11.26
tag: 1.12.9
env:
ECHO_VALUE: wohooo
QUARKUS_HTTP_PORT: 7070
Expand Down
57 changes: 57 additions & 0 deletions chart-tests/application/ci/test-statefulset-sidecar-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
statefulSet:
enabled: true

resources:
requests:
cpu: 10m
memory: 50Mi
limits:
cpu: 100m
memory: 100Mi

volumeMounts:
- name: share
mountPath: /share

sidecars:
- name: sidekick
image:
repository: quay.io/heubeck/examiner
tag: 1.12.9
env:
ECHO_VALUE: yehaaa
QUARKUS_HTTP_PORT: 9090
livenessProbe:
path: /.well-known/live
port: 9090
readinessProbe:
path: /.well-known/ready
port: 9090
securityContext:
runAsUser: 65532
volumeMountNames:
- share
- name: kickback
image:
repository: quay.io/heubeck/examiner
tag: 1.12.9
env:
ECHO_VALUE: wohooo
QUARKUS_HTTP_PORT: 7070
livenessProbe:
path: /.well-known/live
port: 7070
readinessProbe:
path: /.well-known/ready
port: 7070
securityContext:
runAsUser: 65532

sidecarDefaults:
resources:
requests:
cpu: 10m
memory: 50Mi
limits:
cpu: 100m
memory: 100Mi
10 changes: 10 additions & 0 deletions chart-tests/application/ci/test-statefulset-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
resources:
requests:
cpu: 10m
memory: 50Mi
limits:
cpu: 100m
memory: 100Mi

statefulSet:
enabled: true
2 changes: 1 addition & 1 deletion charts/application/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ maintainers:
- name: MediaMarktSaturn
url: https://github.com/MediaMarktSaturn
appVersion: 1.0.0
version: 1.13.1
version: 1.14.0
2 changes: 1 addition & 1 deletion charts/application/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Generic application chart with common requirements of a typical workload.
| readinessProbe.failureThreshold | int | `3` | |
| readinessProbe.timeoutSeconds | int | `5` | |
| image.repository | string | `"quay.io/heubeck/examiner"` | |
| image.tag | string | `"1.11.26"` | |
| image.tag | string | `"1.12.9"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.tagSemverRange | string | `nil` | |
| image.tagNumerical | string | `nil` | |
Expand Down
Loading

0 comments on commit 4a7eb97

Please sign in to comment.