Skip to content

Commit

Permalink
Merge pull request #22 from devtron-labs/hp-registry-map
Browse files Browse the repository at this point in the history
feat: Helm pull registry map in common
  • Loading branch information
shivani170 authored Sep 1, 2023
2 parents 9c2372d + 8834eaf commit e3b2c36
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devtron-labs/devtron-fe-common-lib",
"version": "0.0.23",
"version": "0.0.25",
"description": "Supporting common component library",
"main": "dist/index.js",
"scripts": {
Expand Down
10 changes: 8 additions & 2 deletions src/Common/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType> = {
defaultRegistryURL: 'docker.io',
registryURL: {
label: 'Registry URL',
defaultValue: 'docker.io',
defaultValue: '',
placeholder: '',
},
id: {
Expand Down Expand Up @@ -195,7 +195,7 @@ export const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType> = {
defaultRegistryURL: 'quay.io',
registryURL: {
label: 'Registry URL',
defaultValue: 'quay.io',
defaultValue: '',
placeholder: '',
},
id: {
Expand Down Expand Up @@ -232,4 +232,10 @@ export const REGISTRY_TYPE_MAP: Record<string, RegistryTypeDetailType> = {
placeholder: '',
},
},
}

export const RepositoryAction = {
CONTAINER: "CONTAINER",
CHART_PULL: "CHART_PULL",
CHART_PUSH: "CHART_PUSH"
}

0 comments on commit e3b2c36

Please sign in to comment.