File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff 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 ] ;
Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments