Skip to content

Commit 73d2cd7

Browse files
committed
update ocean-kubernetes-controller version to 0.1.66
1 parent 4afdb13 commit 73d2cd7

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

modules/sage-aws-k8s-node-autoscaler/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ resource "helm_release" "ocean-kubernetes-controller" {
8282
repository = "https://charts.spot.io"
8383
chart = "ocean-kubernetes-controller"
8484
namespace = "spot-system"
85-
version = "0.1.59"
85+
version = "0.1.66"
8686
create_namespace = true
8787

8888
values = [templatefile("${path.module}/templates/values.yaml", {})]

modules/sage-aws-k8s-node-autoscaler/templates/values.yaml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,23 @@ spotinst:
2525
enableCsrApproval: true
2626
# -- Disable automatic RightSizing. (Optional)
2727
disableAutomaticRightSizing: false
28+
# -- Disable TLS certificate validation. (Optional)
29+
insecureSkipTLSVerify: false
30+
# -- Sets the controller to read-only mode, removing write permissions and disabling autoscaling. (Optional)
31+
readonly: false
2832

2933
# -- Configure the amount of replicas for the controller (Optional)
3034
replicas: 2
3135

3236
image:
3337
repository: us-docker.pkg.dev/spotit-today/container-labs/spotinst-kubernetes-controller
3438
pullPolicy: IfNotPresent
35-
# Overrides the image tag whose default is the chart appVersion.
39+
# -- Overrides the image tag whose default is the chart appVersion.
3640
tag: ""
41+
# -- Set to `true` to use an FIPS-140 compliant image. This flag adds `-fips` suffix to the image tag,
42+
# therefore it should not be used together with the `--image.tag` flag.
43+
# Ref: https://go.dev/doc/security/fips140
44+
fips: false
3745

3846
initContainers: []
3947

@@ -194,8 +202,7 @@ metrics-server:
194202
pullPolicy: IfNotPresent
195203

196204
# -- Arguments to pass to metrics-server on start up. (Optional)
197-
args:
198-
- --logtostderr
205+
# args:
199206
# enable this if you have self-signed certificates, see: https://github.com/kubernetes-incubator/metrics-server
200207
# - --kubelet-insecure-tls
201208

@@ -204,10 +211,12 @@ logShipping:
204211
# -- Specifies whether to send the controller logs to Spot for analysis. (Optional)
205212
enabled: false
206213

207-
# -- Specifies the log shipping container image. (Optional)
208214
image:
215+
# -- Image repository. (Optional)
209216
repository: ghcr.io/fluent/fluent-bit
217+
# -- Overrides the image tag. (Optional)
210218
tag: "3.1.9"
219+
# -- Image pull policy. (Optional)
211220
pullPolicy: IfNotPresent
212221

213222
# -- Log shipping destination configuration.
@@ -220,12 +229,22 @@ logShipping:
220229

221230
extraEnv: []
222231

232+
# -- Log shipping container command. (Optional)
223233
command:
224234
- /fluent-bit/bin/fluent-bit
225235
- -c
226236
- /tmp/fluent-bit.conf
227237
- -q
228238

239+
# -- Log Shipping container security context
240+
securityContext:
241+
allowPrivilegeEscalation: false
242+
readOnlyRootFilesystem: true
243+
runAsNonRoot: true
244+
capabilities:
245+
drop:
246+
- ALL
247+
229248
# Auto Update process configuration.
230249
autoUpdate:
231250
# -- Configures the image for the auto-updater job. (Optional)

0 commit comments

Comments
 (0)