Skip to content

Commit 4afdb13

Browse files
committed
update ocean-kubernetes-controller version to 0.1.59
1 parent 1b4edbe commit 4afdb13

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

deployments/stacks/dpe-k8s-deployments/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ locals {
22
git_revision = var.git_revision
33
}
44
module "sage-aws-eks-autoscaler" {
5-
source = "spacelift.io/sagebionetworks/sage-aws-eks-autoscaler/aws"
6-
version = "0.9.0"
5+
source = "../../../modules/sage-aws-k8s-node-autoscaler"
76
cluster_name = var.cluster_name
87
private_vpc_subnet_ids = var.private_subnet_ids_eks_worker_nodes
98
vpc_id = var.vpc_id

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.52"
85+
version = "0.1.59"
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 & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ spotinst:
88
# -- Spot Token. (Required)
99
# Ref: https://docs.spot.io/administration/api/create-api-token
1010
token: ""
11-
# -- Spot Account. (Required)
12-
# Ref: https://docs.spot.io/administration/organizations?id=account
11+
# -- Spot Account ID. (Required)
12+
# Example: `act-123abcd`
1313
account: ""
1414
# -- Unique identifier used by the Ocean Controller to connect (Required)
1515
# between the Ocean backend and the Kubernetes cluster.
@@ -35,6 +35,8 @@ image:
3535
# Overrides the image tag whose default is the chart appVersion.
3636
tag: ""
3737

38+
initContainers: []
39+
3840
imagePullSecrets: []
3941

4042
serviceAccount:
@@ -79,9 +81,9 @@ commonLabels: {}
7981
# Ref: https://kubernetes.io/docs/concepts/security/pod-security-standards/
8082
podSecurityContext:
8183
runAsNonRoot: true
82-
runAsUser: 10001
83-
runAsGroup: 10001
84-
fsGroup: 10001
84+
runAsUser: 1000690000
85+
runAsGroup: 1000690000
86+
fsGroup: 1000690000
8587

8688
# -- Priority class name for the controller pod.
8789
priorityClassName: system-node-critical
@@ -100,6 +102,8 @@ securityContext:
100102
drop:
101103
- ALL
102104

105+
command: []
106+
103107
args: []
104108
# - --test
105109

@@ -203,7 +207,7 @@ logShipping:
203207
# -- Specifies the log shipping container image. (Optional)
204208
image:
205209
repository: ghcr.io/fluent/fluent-bit
206-
tag: "3.0.7"
210+
tag: "3.1.9"
207211
pullPolicy: IfNotPresent
208212

209213
# -- Log shipping destination configuration.
@@ -212,6 +216,16 @@ logShipping:
212216
port: 443
213217
tls: true
214218

219+
extraVolumeMounts: []
220+
221+
extraEnv: []
222+
223+
command:
224+
- /fluent-bit/bin/fluent-bit
225+
- -c
226+
- /tmp/fluent-bit.conf
227+
- -q
228+
215229
# Auto Update process configuration.
216230
autoUpdate:
217231
# -- Configures the image for the auto-updater job. (Optional)
@@ -230,9 +244,9 @@ autoUpdate:
230244
# Ref: https://kubernetes.io/docs/concepts/security/pod-security-standards/
231245
podSecurityContext:
232246
runAsNonRoot: true
233-
runAsUser: 10001
234-
runAsGroup: 10001
235-
fsGroup: 10001
247+
runAsUser: 1000690000
248+
runAsGroup: 1000690000
249+
fsGroup: 1000690000
236250

237251
# -- Security Context for the auto-updater container. (Optional)
238252
securityContext:

0 commit comments

Comments
 (0)