Skip to content

Commit 0a94eca

Browse files
committed
fix
1 parent ba93909 commit 0a94eca

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/components/ControlPlane/ManagedResources.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ export function ManagedResources() {
172172
disableFilters: true,
173173
Cell: ({ row }: { row: CellRow<ResourceRow> }) => {
174174
const { original } = row;
175-
// Flux-managed check for disabling Edit
176175
const fluxLabelValue = (
177176
original?.item?.metadata?.labels as unknown as Record<string, unknown> | undefined
178177
)?.['kustomize.toolkit.fluxcd.io/name'];
@@ -211,7 +210,6 @@ export function ManagedResources() {
211210
const item = original?.item;
212211
if (!item) return undefined;
213212

214-
// Flux-managed check for disabling Edit
215213
const fluxLabelValue = (item?.metadata?.labels as unknown as Record<string, unknown> | undefined)?.[
216214
'kustomize.toolkit.fluxcd.io/name'
217215
];

src/lib/monaco.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ export const configureMonaco = () => {
9090
colors: GITHUB_DARK_EDITOR_COLORS,
9191
});
9292

93-
// Configure monaco-yaml for Kubernetes resources
9493
configureMonacoYaml(monaco, {
9594
enableSchemaRequest: true,
9695
hover: true,
@@ -99,9 +98,8 @@ export const configureMonaco = () => {
9998
format: true,
10099
schemas: [
101100
{
102-
// Official Kubernetes schema
103101
uri: 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.29.0-standalone-strict/all.json',
104-
fileMatch: ['*'], // Apply to all YAML files
102+
fileMatch: ['*'],
105103
},
106104
],
107105
});

0 commit comments

Comments
 (0)