Skip to content

Commit 1613ba5

Browse files
committed
chore: lower miminum knative k8s version (#1000)
(cherry picked from commit 4c6da93)
1 parent 7e66a35 commit 1613ba5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/utils/k8sUtils.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ describe('isK8sVersionAtLeast', () => {
2323
})
2424

2525
describe('isKnativeSupported', () => {
26-
it('returns true for Kubernetes 1.33', () => {
27-
expect(isKnativeSupported('v1.33.0')).toBe(true)
26+
it('returns true for Kubernetes 1.31', () => {
27+
expect(isKnativeSupported('v1.31.0')).toBe(true)
2828
})
2929

30-
it('returns true for Kubernetes above 1.33', () => {
30+
it('returns true for Kubernetes above 1.31', () => {
3131
expect(isKnativeSupported('v1.35.3')).toBe(true)
3232
})
3333

34-
it('returns false for Kubernetes below 1.33', () => {
35-
expect(isKnativeSupported('v1.32.0')).toBe(false)
34+
it('returns false for Kubernetes below 1.31', () => {
35+
expect(isKnativeSupported('v1.30.0')).toBe(false)
3636
})
3737
})

src/validators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export const OBJECT_STORAGE_UI_EXCLUSIONS = json<string[]>({
187187
})
188188
export const MIN_KNATIVE_K8S_VERSION = str({
189189
desc: 'Minimum Kubernetes version required for Knative support',
190-
default: '1.33.0',
190+
default: '1.31.0',
191191
})
192192
const { env } = process
193193
export function cleanEnv<T>(validators: { [K in keyof T]: ValidatorSpec<T[K]> }, options: CleanOptions<T> = {}) {

0 commit comments

Comments
 (0)