We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
apiVersion
1 parent 58aa674 commit 4b8d5acCopy full SHA for 4b8d5ac
src/config.ts
@@ -157,9 +157,6 @@ export class KubeConfig {
157
158
public loadFromString(config: string) {
159
const obj = yaml.safeLoad(config) as any;
160
- if (obj.apiVersion !== 'v1') {
161
- throw new TypeError('unknown version: ' + obj.apiVersion);
162
- }
163
this.clusters = newClusters(obj.clusters);
164
this.contexts = newContexts(obj.contexts);
165
this.users = newUsers(obj.users);
0 commit comments