-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for Helm 1st-class. Closes #1145 #1865
Merged
Merged
Changes from all commits
Commits
Show all changes
107 commits
Select commit
Hold shift + click to select a range
fce444f
Adds support for Helm 1st-class. Closes #1145
alexec 47a36df
Removes ListRepoURLs
alexec c551a7e
Adds type field
alexec 3a2983b
tidy up
alexec c14ebdb
clean up code
alexec af175df
refactor
alexec 92b7378
Merge branch 'master' into helm-1st-class
alexec b9117ee
""title": "Repository is a repository holding appli..." to swagger.json
alexec 45d73d4
""format": "boolean"," to swagger.json
alexec a21d524
"Either empty, "git" or "helm"." to repos-list.tsx
alexec b74212a
Merge branch 'master' into helm-1st-class
alexec 78183cb
"" to Gopkg.lock
alexec 6f1ce81
"for _, repo := range repos {" to repository.go
alexec d06706e
"out, err := m.runCmd("show", "-s", "--format=%an <..." to client.go
alexec 9f718e3
"Example: `" to repo.go
alexec 6aab157
"s.repoLock.Lock(client.LockKey())" to repository.go
alexec 23df52f
"mockClient.On("LockKey").Return(root)" to repository_test.go
alexec 2296017
"command.Flags().StringVar(&opts.revision, "revisio..." to app.go
alexec 90d352d
"// return a key suitable for use for locking this ..." to client.go
alexec 9f23468
""k8s.io/apimachinery/pkg/selection"," to Gopkg.lock
alexec ab3ead1
"return client.Revision(path)" to repository.go
alexec 8f36c38
"revision, err := repo.Revision("wordpress")..." to client_test.go
alexec 7d25e54
"client, err := s.clientFactory.NewClient(repo)..." to repository.go
alexec c1bb421
"Expect(OperationPhaseIs(OperationSucceeded))...." to helm_test.go
alexec 1445725
works
alexec e2b88ff
helm
alexec 5b57326
"- https://github.com/alexec/argo-cd/blob/helm-1st-..." to index.yaml
alexec eac5c4b
"Name: "testrepo"," to helm_test.go
alexec 2bc7d63
"Name: "testrepo"," to helm_test.go
alexec d91964d
"action: () => props.syncApplication(app.metadata.n..." to applicatio…
alexec e67a39c
Merge branch 'master' into helm-1st-class
alexec 4c95072
""operationId": "ListMixin6"," to swagger.json
alexec 0d22ecb
"setString: map[string]string{}," to helm.go
alexec 5888b7f
"Type: repo.Type," to repo.go
alexec 5c5d558
"string type = 6;" to repository.proto
alexec cd0a480
"return fileDescriptor_repository_14cf0cb00b2c9f4b,..." to repository…
alexec b423194
Merge branch 'master' into helm-1st-class
alexec a3db83b
codegen
alexec ef50a8f
"_, _ = fmt.Fprintf(w, "TYPE\nREPO\tINSECURE\tLFS\t..." to repo.go
alexec 6973412
"RepoURLTypeHelm = "helm"" to fixture.go
alexec 0658fb0
"log.SetLevel(log.DebugLevel)" to client.go
alexec 0e018c7
""github.com/argoproj/argo-cd/test/fixture/testrepo..." to fixture.go
alexec be910f9
Merge branch 'master' into helm-1st-class
alexec 0c54819
""type": {" to swagger.json
alexec 594a911
""tlsClientCaData": {" to swagger.json
alexec f3c05c9
"Repo: q.Repo," to repository.go
alexec e5514ba
"threshold: 10" to .codecov.yml
alexec d6b7993
"func (w *clientWrapper) Root() string {" to clientwrapper.go
alexec dfe7534
"" to helm.go
alexec 942f008
Merge branch 'master' into helm-1st-class
alexec f6d09cc
"API rule violation: names_match,github.com/argopro..." to violation_…
alexec c638472
"repoclient "github.com/argoproj/argo-cd/util/depot..." to clientwrap…
alexec 680ed13
"repofactory "github.com/argoproj/argo-cd/util/repo..." to main.go
alexec fb8a981
Merge branch 'master' into helm-1st-class
alexec fabfeda
""operationId": "ListMixin6"," to swagger.json
alexec 2f933cd
"h, err := NewHelmApp("./testdata/redis", argoappv1..." to helm_test.go
alexec 5bf8889
Merge branch 'master' into helm-1st-class
alexec 30c92b6
"type RevisionMetadata struct {" to client.go
alexec fd74094
""github.com/argoproj/argo-cd/util/repofactory"..." to main.go
alexec 25e7117
"if revision == "" {" to client.go
alexec 2e8a905
"mockClient := gitmocks.Repo{}" to repository_test.go
alexec 6336d32
Merge branch 'helm-1st-class' of github.com:alexec/argo-cd into helm-…
alexec 50beb6f
"import (" to Client.go
alexec de8ccf0
""github.com/argoproj/argo-cd/util/repo/factory"..." to main.go
alexec f834709
""title": "HelmAppSpec contains helm app name in so..." to swagger.json
alexec 454c410
"fmt.Printf(printOpFmtStr, "Sync Revision:", opStat..." to app.go
alexec 0c831d9
"ctrl.normalizeApplication(origApp, app)" to appcontroller.go
alexec a80fa77
Merge branch 'master' into helm-1st-class
alexec ba43e6e
"return fileDescriptor_generated_fa7ecc5a98a60b16, ..." to generated.…
alexec b2f78e2
"<i className={'icon argo-icon-' + repo.type}/> <Re..." to repos-list…
alexec c8ecdb7
"res, err := repository.GenerateManifests(local, &r..." to app.go
alexec 2735787
"res1, err = GenerateManifests("./testdata/empty-li..." to repository…
alexec 27489f1
""path/filepath"" to cmd.go
alexec 81bd450
"func (g gitRepo) Init() error {" to repo.go
alexec ec2d0ac
"return c.run("init", "--client-only", "--skip-refr..." to cmd.go
alexec 0c81250
"func (w *repoWrapper) Init() error {" to repowrapper.go
alexec 6bd41e0
"h := helm.NewHelmApp(appPath, q.Repos)" to repository.go
alexec db80ab6
"h, err := helm.NewHelmApp(appPath, q.Repos)..." to repository.go
alexec 2f8a032
"plugins, err := s.plugins()" to application.go
alexec 5eec4f8
""k8s.io/utils/pointer"," to Gopkg.lock
alexec 0a5c657
"Expect(Error("", "unable to access 'https://localh..." to repo_creds…
alexec 25a9c90
"Expect(Error("", "unable to access"))" to repo_creds_test.go
alexec 93f81fa
Merge branch 'master' into helm-1st-class
alexec d142b88
"ctrl.normalizeApplication(origApp, app)" to appcontroller.go
alexec 1b4a9f5
"import (" to account.pb.go
alexec a3608bc
Merge branch 'master' into helm-1st-class
alexec 58dfe82
""github.com/argoproj/argo-cd/util/app/discovery"..." to repository.go
alexec df054a2
"// ListRepositories lists configured repositories..." to db.go
alexec b2acdbd
"inRepos, err := db.settingsMgr.GetRepositories()..." to repository.go
alexec a1cb2a9
"helmrepo "github.com/argoproj/argo-cd/util/helm/re..." to factory.go
alexec 25176e0
"workDir, err := repo.WorkDir(url)" to repo.go
alexec 89fc394
Merge branch 'master' into helm-1st-class
alexec f2eb226
"import (" to account.pb.go
alexec 2e89655
"" to .golangci.yml
alexec f35e9fa
Merge branch 'master' into helm-1st-class
alexec 0fccb1b
"factory factory.Factory" to metrics.go
alexec 3a1fef5
"import (" to Factory.go
alexec 8006421
rm
alexec 6a57104
"conditions, err := argo.ValidateRepo(ctx, &app.Spe..." to applicatio…
alexec e5f66cd
"// ListApps returns list of apps in the repo..." to state.go
alexec f774b24
"// ListRepositories lists repositories" to db.go
alexec d50b886
"log.WithFields(log.Fields{"url": url}).Debug("helm..." to repo_facto…
alexec 8fcae1e
"Repos: repos," to state.go
alexec 33455fa
"import proto "github.com/gogo/protobuf/proto"..." to account.pb.go
alexec 024c4f7
"mockRepoServiceClient.On("GetAppDetails", mock.Any..." to applicatio…
alexec 11dd11e
"// Null out dest server to verify that destination..." to app_manage…
alexec 46b2e4f
"import (" to account.pb.go
alexec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove
Repo
field, since now we are passing all repositories and repo server just need to find matching one by URLThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry - don't think it works like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repos
field now contains all repositories ( git and helm ). Repository server already filters give repos by type for helm applications. In the same way repo server might filter repo by URL. Is not it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2259