Skip to content

Commit

Permalink
fix(rules): add Scaleway Kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 5c4fe78 commit 17cb981
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ exports[`all > should match everything 1`] = `
"scaleway.documentdb",
"scaleway.elasticmetal",
"scaleway.function",
"scaleway.kubernetes",
"scaleway.redis",
"scaleway.secretmanager",
"scaleway.storage",
Expand Down
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import './replit.js';
import './scaleway.container.js';
import './scaleway.elasticmetal.js';
import './scaleway.functions.js';
import './scaleway.kubernetes.js';
import './sitecore.js';
import './supabase.functions.js';
import './tencentcloud.js';
Expand Down
8 changes: 8 additions & 0 deletions src/rules/hosting/scaleway.kubernetes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'scaleway.kubernetes',
name: 'Scaleway Kubernetes',
type: 'hosting',
dependencies: [{ type: 'terraform.resource', name: 'scaleway_k8s_cluster' }],
});
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"scaleway.documentdb",
"scaleway.elasticmetal",
"scaleway.function",
"scaleway.kubernetes",
"scaleway.redis",
"scaleway.secretmanager",
"scaleway.storage",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ export type AllowedKeys =
| 'scaleway.documentdb'
| 'scaleway.elasticmetal'
| 'scaleway.function'
| 'scaleway.kubernetes'
| 'scaleway.redis'
| 'scaleway.secretmanager'
| 'scaleway.storage'
Expand Down

0 comments on commit 17cb981

Please sign in to comment.