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 387ffacb5..36e3351be 100644 --- a/ui/src/features/promotion-directives/registry/use-discover-registries.ts +++ b/ui/src/features/promotion-directives/registry/use-discover-registries.ts @@ -9,11 +9,15 @@ import { faCodePullRequest, faCopy, faDraftingCompass, + faEdit, + faExchangeAlt, faFileCode, faFileEdit, faFileImage, + faGlobe, faHammer, faHeart, + faNetworkWired, faRedoAlt, faSyncAlt, faUpDown, @@ -34,8 +38,10 @@ import gitWaitForPR from '@ui/gen/directives/git-wait-for-pr-config.json'; import helmTemplateConfig from '@ui/gen/directives/helm-template-config.json'; import helmUpdateChartConfig from '@ui/gen/directives/helm-update-chart-config.json'; import helmUpdateImageConfig from '@ui/gen/directives/helm-update-image-config.json'; +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 yamlUpdateConfig from '@ui/gen/directives/yaml-update-config.json'; import { PromotionDirectivesRegistry } from './types'; @@ -80,6 +86,11 @@ export const useDiscoverPromotionDirectivesRegistries = (): PromotionDirectivesR unstable_icons: [faClock, faCodePullRequest], config: gitWaitForPR as unknown as JSONSchema7 }, + { + identifier: 'yaml-update', + config: yamlUpdateConfig as unknown as JSONSchema7, + unstable_icons: [faFileCode, faSyncAlt, faEdit] + }, { identifier: 'git-push', unstable_icons: [faArrowUp, faCloudUploadAlt], @@ -114,6 +125,11 @@ export const useDiscoverPromotionDirectivesRegistries = (): PromotionDirectivesR identifier: 'kustomize-set-image', unstable_icons: [faFileImage, faFileEdit], config: kustomizeSetImageConfig as JSONSchema7 + }, + { + identifier: 'http', + unstable_icons: [faGlobe, faNetworkWired, faExchangeAlt], + config: httpConfig as JSONSchema7 } ] };