Skip to content

Commit

Permalink
update overrides to include hostPath feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Jan 8, 2025
1 parent e165e5a commit def8273
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cmd/schema-tweak/overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ func revSpecOverrides(prefixPath string) []entry {
}, {
name: "persistentVolumeClaim",
flag: "kubernetes.podspec-persistent-volume-claim",
}, {
name: "hostPath",
flag: "kubernetes.podspec-hostpath",
}},
}, {
path: "volumes.secret",
Expand Down
3 changes: 2 additions & 1 deletion config/core/300-resources/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,8 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
hostPath:
description: This is accessible behind a feature flag - kubernetes.podspec-hostpath
description: |-
This is accessible behind a feature flag - kubernetes.podspec-hostpath
type: object
x-kubernetes-preserve-unknown-fields: true
name:
Expand Down
3 changes: 2 additions & 1 deletion config/core/300-resources/revision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,8 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
hostPath:
description: This is accessible behind a feature flag - kubernetes.podspec-hostpath
description: |-
This is accessible behind a feature flag - kubernetes.podspec-hostpath
type: object
x-kubernetes-preserve-unknown-fields: true
name:
Expand Down
3 changes: 2 additions & 1 deletion config/core/300-resources/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,8 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
hostPath:
description: This is accessible behind a feature flag - kubernetes.podspec-hostpath
description: |-
This is accessible behind a feature flag - kubernetes.podspec-hostpath
type: object
x-kubernetes-preserve-unknown-fields: true
name:
Expand Down

0 comments on commit def8273

Please sign in to comment.