dbuduev
ed2c65c1e6
feat(logger): Init logrus [DTD-55] ( #5232 )
2021-08-04 11:26:22 +12:00
cong meng
51ef2c2aa9
fix(advance deploy): EE-1141 A standard user can escalate to cluster administrator privileges on Kubernetes ( #5325 )
...
* fix(advance deploy): EE-1141 A standard user can escalate to cluster administrator privileges on Kubernetes
* fix(advance deploy): EE-1141 reuse existing token cache when do deployment
* fix: EE-1141 use user's SA token to exec pod command
* fix: EE-1141 stop advanced-deploy or pod-exec if user's SA token is empty
* fix: EE-1141 resolve merge conflicts
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-08-04 11:11:24 +12:00
cong meng
5652bac004
feat: EE-424 Provide a way to re-associate an Edge endpoint to a new Edge agent ( #5266 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-08-02 18:08:40 +12:00
Matt Hook
cee7ac26e9
Fix dockerhub pro account rate-limit issue ( #5352 )
2021-07-27 10:49:28 +12:00
dbuduev
7d6b1edd48
feat(k8s): Introduce the ability to restrict access to default namespace (EE-745) ( #5337 )
2021-07-23 17:10:46 +12:00
Richard Wei
09c5bada3e
fix(app): fix create stack with capital letters or space issue EE-908 ( #5236 )
...
* fix(app): fix create stack with capital letters or space issue
* replace ComposeWrapper with ComposeStackManager
2021-07-23 09:53:42 +12:00
Hui
68453482af
fix(swagger): add swagger annotation for pull and redeploy stack
2021-07-22 11:40:53 +12:00
Chaim Lev-Ari
7b2269fbba
feat(endpoints): filter endpoints by a list of types ( #5308 )
...
* feat(endpoints): filter endpoints by a list of types
* docs(endpoints): update api docs for endpoint list
2021-07-21 10:16:22 +03:00
Chaim Lev-Ari
f9ffb1a712
refactor(stacks): use docker-compose-wrapper library ( #4979 )
2021-07-21 13:56:28 +12:00
Dmitry Salakhov
8aa3bfc59c
fix(namespace): update portainer-config when delete a namespace ( #5330 )
2021-07-20 14:05:31 +12:00
Chaim Lev-Ari
db16299aab
feat(docker/volumes): change how volume resource id is calculated ( #5067 )
...
[EE-494]
2021-07-19 10:43:49 +03:00
Chaim Lev-Ari
72117693fb
feat(stacks): update stopped stack ( #5215 )
...
[EE-554]
2021-07-19 10:41:50 +03:00
LP B
179df06267
feat(app): rework private registries and support private registries in kubernetes EE-30 ( #5131 )
...
* feat(app): rework private registries and support private registries in kubernetes
[EE-30]
feat(api): backport private registries backend changes (#5072 )
* feat(api/bolt): backport bolt changes
* feat(api/exec): backport exec changes
* feat(api/http): backport http/handler/dockerhub changes
* feat(api/http): backport http/handler/endpoints changes
* feat(api/http): backport http/handler/registries changes
* feat(api/http): backport http/handler/stacks changes
* feat(api/http): backport http/handler changes
* feat(api/http): backport http/proxy/factory/azure changes
* feat(api/http): backport http/proxy/factory/docker changes
* feat(api/http): backport http/proxy/factory/utils changes
* feat(api/http): backport http/proxy/factory/kubernetes changes
* feat(api/http): backport http/proxy/factory changes
* feat(api/http): backport http/security changes
* feat(api/http): backport http changes
* feat(api/internal): backport internal changes
* feat(api): backport api changes
* feat(api/kubernetes): backport kubernetes changes
* fix(api/http): changes on backend following backport
feat(app): backport private registries frontend changes (#5056 )
* feat(app/docker): backport docker/components changes
* feat(app/docker): backport docker/helpers changes
* feat(app/docker): backport docker/views/container changes
* feat(app/docker): backport docker/views/images changes
* feat(app/docker): backport docker/views/registries changes
* feat(app/docker): backport docker/views/services changes
* feat(app/docker): backport docker changes
* feat(app/kubernetes): backport kubernetes/components changes
* feat(app/kubernetes): backport kubernetes/converters changes
* feat(app/kubernetes): backport kubernetes/models changes
* feat(app/kubernetes): backport kubernetes/registries changes
* feat(app/kubernetes): backport kubernetes/services changes
* feat(app/kubernetes): backport kubernetes/views/applications changes
* feat(app/kubernetes): backport kubernetes/views/configurations changes
* feat(app/kubernetes): backport kubernetes/views/configure changes
* feat(app/kubernetes): backport kubernetes/views/resource-pools changes
* feat(app/kubernetes): backport kubernetes/views changes
* feat(app/portainer): backport portainer/components/accessManagement changes
* feat(app/portainer): backport portainer/components/datatables changes
* feat(app/portainer): backport portainer/components/forms changes
* feat(app/portainer): backport portainer/components/registry-details changes
* feat(app/portainer): backport portainer/models changes
* feat(app/portainer): backport portainer/rest changes
* feat(app/portainer): backport portainer/services changes
* feat(app/portainer): backport portainer/views changes
* feat(app/portainer): backport portainer changes
* feat(app): backport app changes
* config(project): gitignore + jsconfig changes
gitignore all files under api/cmd/portainer but main.go and enable Code Editor autocomplete on import ... from '@/...'
fix(app): fix pull rate limit checker
fix(app/registries): sidebar menus and registry accesses users filtering
fix(api): add missing kube client factory
fix(kube): fetch dockerhub pull limits (#5133 )
fix(app): pre review fixes (#5142 )
* fix(app/registries): remove checkbox for endpointRegistries view
* fix(endpoints): allow access to default namespace
* fix(docker): fetch pull limits
* fix(kube/ns): show selected registries for non admin
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
chore(webpack): ignore missing sourcemaps
fix(registries): fetch registry config from url
feat(kube/registries): ignore not found when deleting secret
feat(db): move migration to db 31
fix(registries): fix bugs in PR EE-869 (#5169 )
* fix(registries): hide role
* fix(endpoints): set empty access policy to edge endpoint
* fix(registry): remove double arguments
* fix(admin): ignore warning
* feat(kube/configurations): tag registry secrets (#5157 )
* feat(kube/configurations): tag registry secrets
* feat(kube/secrets): show registry secrets for admins
* fix(registries): move dockerhub to beginning
* refactor(registries): use endpoint scoped registries
feat(registries): filter by namespace if supplied
feat(access-managment): filter users for registry (#5191 )
* refactor(access-manage): move users selector to component
* feat(access-managment): filter users for registry
refactor(registries): sync code with CE (#5200 )
* refactor(registry): add inspect handler under endpoints
* refactor(endpoint): sync endpoint_registries_list
* refactor(endpoints): sync registry_access
* fix(db): rename migration functions
* fix(registries): show accesses for admin
* fix(kube): set token on transport
* refactor(kube): move secret help to bottom
* fix(kuberentes): remove shouldLog parameter
* style(auth): add description of security.IsAdmin
* feat(security): allow admin access to registry
* feat(edge): connect to edge endpoint when creating client
* style(portainer): change deprecation version
* refactor(sidebar): hide manage
* refactor(containers): revert changes
* style(container): remove whitespace
* fix(endpoint): add handler to registy on endpointService
* refactor(image): use endpointService.registries
* fix(kueb/namespaces): rename resource pool to namespace
* fix(kube/namespace): move selected registries
* fix(api/registries): hide accesses on registry creation
Co-authored-by: LP B <xAt0mZ@users.noreply.github.com>
refactor(api): remove code duplication after rebase
fix(app/registries): replace last registry api usage by endpoint registry api
fix(api/endpoints): update registry access policies on endpoint deletion (#5226 )
[EE-1027]
fix(db): update db version
* fix(dockerhub): fetch rate limits
* fix(registry/tests): supply restricred context
* fix(registries): show proget registry only when selected
* fix(registry): create dockerhub registry
* feat(db): move migrations to db 32
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
2021-07-14 21:15:21 +12:00
Dmitry Salakhov
0f5407da40
feat(tech): bump golang to v1.16 EE-515 ( #4993 )
...
* bump golang to v1.16
* Update build/linux/toolkit.Dockerfile
Co-authored-by: dbuduev <dbuduev@gmail.com>
2021-07-14 13:10:42 +12:00
Chaim Lev-Ari
2fd95d87eb
fix(volumes): fetch resource by docker name ( #5216 )
2021-07-13 18:09:58 +12:00
zees-dev
f6c5c552aa
feat(oauth/team-memberships): oauth team memberships teaser EE-341 ( #5088 )
...
* EE oauth team memberships feature teaser
* bugfix: deleting a default team should reset default team id to 0
* error wrapping, refactor team deletion code
2021-07-02 18:20:10 +12:00
dbuduev
90a472c08b
feat(registry): Add ProGet registry type EE-703 ( #5196 )
...
* intermediate commit
* feat(registry): backport ProGet registry to CE (#954 )
* backport EE changes
* label updates and remove auth-toggle
Co-authored-by: Dennis Buduev <dennis.buduev@portainer.io>
2021-07-01 14:57:15 +12:00
cong meng
a13ad8927f
fix(stack) ignore username and password when authentication is disabled EE-161 ( #5222 )
...
* fix(stack) ignore username and password when authentication is disabled EE-161
* fix(stack) ignore username and password when authentication is disabled for stack creation EE-161
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-22 19:59:05 +12:00
cong meng
8e3751d0b7
fix(stack) Unable to update and redeploy a stack created from a git repository if it has failed once EE-1012 ( #5212 )
...
testing passed
2021-06-22 12:58:54 +12:00
Dmitry Salakhov
89f53458c6
fix(stack): allow standard users use advanced deployment ( #5205 )
2021-06-21 09:53:48 +12:00
Stéphane Busso
60ef6d0270
Bump version to 2.6.0
2021-06-17 16:55:11 +12:00
Hui
caa6c15032
feat(k8s): advanced deployment from Git repo EE-447 ( #5166 )
...
* feat(stack): UI updates in git repo deployment method for k8s EE-640. (#5097 )
* feat(stack): UI updates in git repo deployment method for k8s EE-640.
* feat(stack): supports the combination of GIT + COMPOSE.
* feat(stack): rename variable
* feat(stack): add git repo deployment method for k8s EE-638
* cleanup
* update payload validation rules
* make repo ref optional in frond end
Co-authored-by: fhanportainer <79428273+fhanportainer@users.noreply.github.com>
2021-06-16 23:47:32 +02:00
cong meng
6b759438b8
fix(k8s) cleaning up namespace access policies when removing users orteams from endpoint or endpoint group EE-718 ( #5184 )
...
* fix(k8s) cleaning up namespace access policies when removing users or teams from endpoint or endpoint group EE-718
* fix(k8s) minor code cleanup EE-718
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-16 20:15:29 +12:00
Hui
2170ad49ef
fix(DB): downgrade DB version from 31 to 30 EE-955 ( #5193 )
...
* downgrade DB version from 31 to 30
* rename unit test func
* refactor migration func for DB 30
* move test helper func
* use struct method
2021-06-16 19:58:30 +12:00
Alice Groux
7f96220a09
feat(k8s/advanced-deployment): allow standard users to see and use advanced deployment feature EE-446 ( #5050 )
2021-06-16 17:28:44 +12:00
Dmitry Salakhov
0b93714de4
feat(stacks): redeploy git stack [EE-161] ( #5139 )
...
* feat(git): save git config when creating stack (#5048 )
* feat(git): save git config when creating stack
* chore(fs): test fileExists
* fix(git): fix tests to use CloneRepository
* refactor(git): move options to new object
* feat(stacks): redeploy git stack api (#5112 )
* feat(stacks): redeploy git stacks form
[EE-666]
* feat(stack): show loading after confirmation
* fix(stacks): show same size description
* fix(stacks): reload state when deployed
* feat(stacks): set stopped stacks status to activate when updating
* feat(stacks): backup stack folder before cloning
* feat(stacks): don't accept prune and env on update git
Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com>
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
2021-06-16 09:11:35 +12:00
Hui
49bd139466
fix swagger param ( #5183 )
2021-06-14 14:45:57 +12:00
Hui
f674573cdf
feat(OAuth): Add SSO support for OAuth EE-390 ( #5087 )
...
* add updateSettingsToDB28 func and test
* update DBversion const
* migration func naming modification
* feat(oauth): add sso, hide internal auth teaser and logout options. (#5039 )
* cleanup and make helper func for unit testing
* dbversion update
* feat(publicSettings): public settings response modification for OAuth SSO EE-608 (#5062 )
* feat(oauth): updated logout logic with logoutUrl. (#5064 )
* add exclusive token generation for OAuth
* swagger annotation revision
* add unit test
* updates based on tech review feedback
* feat(oauth): updated oauth settings model
* feat(oauth): added oauth logout url
* feat(oauth): fixed SSO toggle and logout issue.
* set SSO to ON by default
* update migrator unit test
* set SSO to true by default for new instance
* prevent applying the SSO logout url to the initial admin user
Co-authored-by: fhanportainer <79428273+fhanportainer@users.noreply.github.com>
Co-authored-by: Felix Han <felix.han@portainer.io>
2021-06-11 10:09:04 +12:00
cong meng
26ead28d7b
Feat(stacks): orphaned stacks #4397 ( #4834 )
...
* feat(stack): add the ability for an administrator user to manage orphaned stacks (#4397 )
* feat(stack): apply small font size to the information text of associate (#4397 )
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-10 14:52:33 +12:00
cong meng
defd929366
Fix(kube) advanced deployment CE-83 ( #4866 )
...
* refactor(http/kube): convert compose format
* feat(kube/deploy): deploy to agent
* feat(kube/deploy): show more details about error
* refactor(kube): return string from deploy
* feat(kube/deploy): revert to use local kubectl
* Revert "feat(kube/deploy): revert to use local kubectl"
This reverts commit 7c4a1c70
* feat(kube/deploy): GH#4321 use the v2 version of agent api instead of v3
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-09 01:55:17 +02:00
Dennis Buduev
96a6129d8a
feat(bolt): implement boltdb test store EE-872
2021-06-04 13:33:18 +12:00
Chaim Lev-Ari
9ec1f2ed6d
fix(endpoints): set sysctl setting for new endpoints ( #5028 )
2021-06-03 11:36:54 +02:00
yi-portainer
8bfa5132cd
Merge branch 'release/2.5' into develop
2021-06-03 20:39:54 +12:00
yi-portainer
1d46f2bb35
* update portainer version to 2.5.1
2021-05-28 10:21:29 +12:00
wheresolivia
a2a197b14b
Merge pull request #5033 from portainer/fix/CE-575/type-downgrade-error
...
fix(portainer): Fix the typo in the downgrade error message
2021-05-27 16:46:48 +12:00
dbuduev
3568fe9e52
feat(git) git clone improvements [EE-451] ( #5070 )
2021-05-24 17:27:07 +12:00
Chaim Lev-Ari
819faa3948
fix(k8s/proxy): proxy healthz request to k8s api ( #5090 )
2021-05-21 00:20:08 +02:00
yi-portainer
43702c2516
* update portainer version to 2.5.0
2021-05-13 18:30:34 +12:00
Chaim Lev-Ari
a21798f518
fix(docker/containers): show sysctl control ( #5051 )
2021-05-12 02:29:35 +02:00
dbuduev
3641158daf
fix: docker-compose use custom config.json to access private images ( #5058 )
...
cherry-picking commit a6b289c9
.
Co-authored-by: Dmitry Salakhov <to@dimasalakhov.com>
2021-05-11 23:05:00 +02:00
Maxime Bajeux
ce04944ce6
fix(portainer): Fix the type in the downgrade error message
2021-05-05 11:44:00 +02:00
Hui
564bea7575
fix(ACI): ACI UAC breaks when redeploying container with same name asone already existing EE-645 ( #5030 )
...
* add existing continer instance checking logic
* modify response status code and err message
* return json instead of plain text for err msg
* Update api/http/proxy/factory/azure/containergroup.go
* Update api/http/proxy/factory/azure/containergroup.go
* Update api/http/proxy/factory/azure/containergroup.go
Co-authored-by: Stéphane Busso <sbusso@users.noreply.github.com>
2021-05-05 20:26:31 +12:00
yi-portainer
ca849e31a1
* update version to 2.4
2021-04-21 12:49:09 +12:00
wheresolivia
335bfb81ba
Merge pull request #4965 from portainer/feat(backup)-backup-restore-system
...
feat(backup): Add backup/restore to the server [EE-386] [EE-378] [CE-452]
2021-04-21 12:16:39 +12:00
Felix Han
5b26ef2036
feat(ACI): updated function name
2021-04-14 16:08:49 +12:00
Felix Han
effb0f6272
Merge branch 'feat/CE-414/add-UAC-to-ACI' of https://github.com/portainer/portainer into feat/CE-414/add-UAC-to-ACI
2021-04-14 16:06:16 +12:00
LP B
2f95b449aa
Revert "feat(ACI): add UAC to ACI ( #4952 )" ( #4982 )
...
This reverts commit 12cf4a00f0
.
2021-04-13 15:56:43 +02:00
fhanportainer
12cf4a00f0
feat(ACI): add UAC to ACI ( #4952 )
2021-04-13 23:55:11 +12:00
Lukas Grotz
d09ae22ba8
feat(container): add sysctls setting in the container view ( #4910 )
...
* feat(container): add sysctls in the container view (#2756 )
* feat(container): add setting to restrict sysctl access
* feat(endpoint): move sysctl disable setting to security settings
* feat(container): add sysctls to container edit view
* fix(container) remove unnecessary migration setting
Co-authored-by: Owen Kirby <oskirby@gmail.com>
2021-04-12 19:40:45 +12:00
Chaim Lev-Ari
ac7d819620
style(proxy): fix function name ( #4970 )
2021-04-09 09:02:48 +12:00