diff --git a/ui/src/features/promotion-directives/registry/use-discover-registries.ts b/ui/src/features/promotion-directives/registry/use-discover-registries.ts index c94c4c4afc..bc5f293f04 100644 --- a/ui/src/features/promotion-directives/registry/use-discover-registries.ts +++ b/ui/src/features/promotion-directives/registry/use-discover-registries.ts @@ -15,6 +15,7 @@ import helmUpdateImageConfig from '@ui/gen/directives/helm-update-image-config.j import httpConfig from '@ui/gen/directives/http-config.json'; import kustomizeBuildConfig from '@ui/gen/directives/kustomize-build-config.json'; import kustomizeSetImageConfig from '@ui/gen/directives/kustomize-set-image-config.json'; +import jsonUpdateConfig from '@ui/gen/directives/json-update-config.json'; import yamlUpdateConfig from '@ui/gen/directives/yaml-update-config.json'; import { PromotionDirectivesRegistry } from './types'; @@ -57,6 +58,10 @@ export const useDiscoverPromotionDirectivesRegistries = (): PromotionDirectivesR identifier: 'yaml-update', config: yamlUpdateConfig as unknown as JSONSchema7 }, + { + identifier: 'json-update', + config: jsonUpdateConfig as unknown as JSONSchema7 + }, { identifier: 'git-push', config: gitPushConfig as unknown as JSONSchema7