Skip to content

Commit 7d9ec78

Browse files
committed
fix: oci-csi resize
1 parent 1aad0c4 commit 7d9ec78

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

apps/cicd/gha-actions-runner/gha-runner-dind/helmrelease.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ spec:
6060
maxReplicas: 16
6161

6262
# runnerScaleSetName: deploy
63-
runnerVersion: "0.9.3"
6463

6564
serviceAccount:
6665
create: true

apps/cicd/gha-actions-runner/gha-runner-dind/namespace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ apiVersion: v1
33
kind: Namespace
44
metadata:
55
name: cicd
6+
annotations:
7+
kustomize.toolkit.fluxcd.io/prune: disabled
68
labels:
79
pod-security.kubernetes.io/enforce: privileged
810
pod-security.kubernetes.io/audit: baseline

apps/cicd/gha-actions-runner/gha-runner-scale-set/helmrelease.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212

1313
maxHistory: 2
1414
driftDetection:
15-
mode: enabled
15+
mode: warn
1616

1717
chart:
1818
spec:
@@ -35,7 +35,7 @@ spec:
3535
valuesFrom:
3636
- kind: Secret
3737
name: github-actions-runner-helm-values
38-
optional: true
38+
3939
values:
4040
image:
4141
repository: ghcr.io/sergelogvinov/github-actions-runner
@@ -52,7 +52,6 @@ spec:
5252

5353
# runnerGroup: ""
5454
runnerScaleSetName: Builder
55-
runnerVersion: "0.10.1"
5655

5756
githubConfigUrl: https://github.com/sergelogvinov/containers
5857

apps/clouds/oracle-csi/app/oracle-csi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ spec:
324324
securityContext:
325325
privileged: true
326326
volumeMounts:
327+
- mountPath: /sys
328+
name: sys
327329
- mountPath: /csi
328330
name: plugin-dir
329331
- mountPath: /var/lib/kubelet
@@ -376,6 +378,10 @@ spec:
376378
key: node.kubernetes.io/unschedulable
377379
operator: Exists
378380
volumes:
381+
- hostPath:
382+
path: /sys
383+
type: Directory
384+
name: sys
379385
- hostPath:
380386
path: /var/lib/kubelet/plugins_registry/
381387
type: DirectoryOrCreate

apps/clouds/oracle-csi/generate/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ patches:
136136
name: fss-driver-mounts
137137
mountPath: /sbin/mount
138138
subPath: mount
139+
- name: sys
140+
mountPath: /sys
139141
nodeSelector:
140142
node.cloudprovider.kubernetes.io/platform: oracle
141143
tolerations:
@@ -155,5 +157,9 @@ patches:
155157
defaultMode: 493
156158
name: oci-fss-csi
157159
name: fss-driver-mounts
160+
- name: sys
161+
hostPath:
162+
path: /sys
163+
type: Directory
158164
target:
159165
kind: DaemonSet

0 commit comments

Comments
 (0)