Skip to content

Commit 2afae7d

Browse files
committed
Mount hostPath
1 parent 01ed3d1 commit 2afae7d

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

bindata/bootkube/bootstrap-manifests/kube-apiserver-pod.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ spec:
6767
name: logs
6868
- mountPath: /var/log/kube-apiserver
6969
name: audit-dir
70+
- mountPath: /var/run/kms
71+
name: kms-dir
7072
livenessProbe:
7173
httpGet:
7274
scheme: HTTPS
@@ -138,3 +140,7 @@ spec:
138140
- hostPath:
139141
path: /var/log/kube-apiserver
140142
name: audit-dir
143+
- hostPath:
144+
path: /var/run/kms
145+
type: DirectoryOrCreate
146+
name: kms-dir

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ require (
136136

137137
replace github.com/onsi/ginkgo/v2 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12
138138

139-
replace github.com/openshift/library-go => github.com/ardaguclu/library-go v0.0.0-20251030115626-ea8e6aa29848
139+
replace github.com/openshift/library-go => github.com/ardaguclu/library-go v0.0.0-20251031073000-2da49addafa4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8
66
github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g=
77
github.com/apparentlymart/go-cidr v1.0.1 h1:NmIwLZ/KdsjIUlhf+/Np40atNXm/+lZ5txfTJ/SpF+U=
88
github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc=
9-
github.com/ardaguclu/library-go v0.0.0-20251030115626-ea8e6aa29848 h1:HP6YRlc+IAuXrXSks2439bZG1vYywRn56mjXDRu0a3Q=
10-
github.com/ardaguclu/library-go v0.0.0-20251030115626-ea8e6aa29848/go.mod h1:UdWv/P+Rw/TrLB6qpwLsUIf5urKlbAqEoK9qnP1NVmQ=
9+
github.com/ardaguclu/library-go v0.0.0-20251031073000-2da49addafa4 h1:JGwxHhq5eTkAyU5p3Un3a91EGfgevlZwwTIZQmoaS4k=
10+
github.com/ardaguclu/library-go v0.0.0-20251031073000-2da49addafa4/go.mod h1:UdWv/P+Rw/TrLB6qpwLsUIf5urKlbAqEoK9qnP1NVmQ=
1111
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
1212
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
1313
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=

vendor/github.com/openshift/library-go/pkg/operator/encryption/kms/kms.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ github.com/openshift/client-go/security/informers/externalversions/internalinter
403403
github.com/openshift/client-go/security/informers/externalversions/security
404404
github.com/openshift/client-go/security/informers/externalversions/security/v1
405405
github.com/openshift/client-go/security/listers/security/v1
406-
# github.com/openshift/library-go v0.0.0-20251015151611-6fc7a74b67c5 => github.com/ardaguclu/library-go v0.0.0-20251030115626-ea8e6aa29848
406+
# github.com/openshift/library-go v0.0.0-20251015151611-6fc7a74b67c5 => github.com/ardaguclu/library-go v0.0.0-20251031073000-2da49addafa4
407407
## explicit; go 1.24.0
408408
github.com/openshift/library-go/pkg/apiserver/jsonpatch
409409
github.com/openshift/library-go/pkg/assets
@@ -1682,4 +1682,4 @@ sigs.k8s.io/structured-merge-diff/v6/value
16821682
## explicit; go 1.22
16831683
sigs.k8s.io/yaml
16841684
# github.com/onsi/ginkgo/v2 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12
1685-
# github.com/openshift/library-go => github.com/ardaguclu/library-go v0.0.0-20251030115626-ea8e6aa29848
1685+
# github.com/openshift/library-go => github.com/ardaguclu/library-go v0.0.0-20251031073000-2da49addafa4

0 commit comments

Comments
 (0)