zees-dev
bf4452cfd7
resolved conflicts, updated code
2021-09-02 19:40:21 +12:00
Matt Hook
bd9bd70d25
feat(helm/userrepos) fix getting global repo for ordinary users EE-1562 ( #5567 )
...
* feat(helm/userrepos) fix getting global repo for ordinary users EE-1562
* post review changes and further backported changes from EE
2021-09-02 19:27:44 +12:00
Matt Hook
90b43feda8
feat(helm) use libhelm url validator and improved path assembly EE-1554 ( #5561 )
2021-09-02 19:27:44 +12:00
zees-dev
3340ca3060
- matching ee codebase at 0afe57034449ee0e9f333d92c252a13995a93019
...
- helm install using endpoint middleware
- remove trailing slash from added/persisted helm repo urls
2021-09-02 19:27:32 +12:00
zees-dev
605dd65ed4
resolved conflicts, updated code
2021-09-02 19:27:13 +12:00
zees-dev
645adf4c7e
helm install openapi spec update
2021-09-02 19:26:54 +12:00
zees-dev
f14121a531
backport EE-1278, squashed, diffed, updated
2021-09-02 19:26:28 +12:00
zees-dev
aabd5a6876
added helm to sidebar after rebase, sync CE with EE
2021-09-02 19:24:30 +12:00
Matt Hook
4de94abdd8
Pull in all changes from tech review in EE-943
2021-09-02 19:24:30 +12:00
Richard Wei
3a330d9d14
feat(helm): add helm chart backport to ce EE-1409 ( #5425 )
...
* EE-1311 Helm Chart Backport from EE
* backport to ce
Co-authored-by: Matt Hook <hookenz@gmail.com >
2021-09-02 19:24:29 +12:00
Matt Hook
89e71aabab
feat(helm) helm chart backport from ee EE-1311 ( #5436 )
...
* Add missing defaultHelmRepoUrl and mock testing
* Backport EE-1477
* Backport updates to helm tests from EE
* add https by default changes and ssl to tls renaming from EE
* Port install integration test. Disabled by default to pass CI checks
* merged changes from EE for the integration test
* kube proxy whitelist updated to support internal helm install command
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
2021-09-02 19:21:52 +12:00
Richard Wei
06f779e698
feat(helm): add helm chart backport to ce EE-1409 ( #5425 )
...
* EE-1311 Helm Chart Backport from EE
* backport to ce
Co-authored-by: Matt Hook <hookenz@gmail.com >
2021-09-02 19:18:17 +12:00
Matt Hook
d8793b2c96
feat(helm/views): helm release and application views EE-1236 ( #5529 )
...
* feat(helm): add helm chart backport to ce EE-1409 (#5425 )
* EE-1311 Helm Chart Backport from EE
* backport to ce
Co-authored-by: Matt Hook <hookenz@gmail.com >
* Pull in all changes from tech review in EE-943
* added helm to sidebar after rebase, sync CE with EE
* removed redundant handler (not used) - to match EE
* feat(helm) display helm charts - backend EE-1236
* copy over components for new applications view EE-1236
* Add new applications datatable component
* Add more migrated files
* removed test not applicable to CE
* baclkported EE app data table code to CE
* removed redundant helm repo url
* resolved conflicts, updated code
* using endpoint middleware
* PR review fixes
* using constants, openapi updated
Co-authored-by: Richard Wei <54336863+WaysonWei@users.noreply.github.com >
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
2021-09-02 16:22:51 +12:00
zees-dev
1c0080d3dd
resolved merge conflicts, updated code
2021-09-02 16:22:40 +12:00
zees-dev
bc13da6148
removed redundant handler (not used) - to match EE
2021-09-02 16:22:40 +12:00
zees-dev
dc30f89b60
bugfix: kubectl shell not opening - bearer token bug
2021-09-02 16:22:39 +12:00
zees-dev
38bc4d90c2
added helm to sidebar after rebase, sync CE with EE
2021-09-02 16:22:39 +12:00
Matt Hook
16933e5f9f
Pull in all changes from tech review in EE-943
2021-09-02 16:22:38 +12:00
Matt Hook
caad31def7
feat(helm) helm chart backport from ee EE-1311 ( #5436 )
...
* Add missing defaultHelmRepoUrl and mock testing
* Backport EE-1477
* Backport updates to helm tests from EE
* add https by default changes and ssl to tls renaming from EE
* Port install integration test. Disabled by default to pass CI checks
* merged changes from EE for the integration test
* kube proxy whitelist updated to support internal helm install command
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
2021-09-02 16:22:10 +12:00
Richard Wei
0cf5f11d28
feat(helm): add helm chart backport to ce EE-1409 ( #5425 )
...
* EE-1311 Helm Chart Backport from EE
* backport to ce
Co-authored-by: Matt Hook <hookenz@gmail.com >
2021-09-02 16:20:06 +12:00
cong meng
35013e7b6a
feat(kubeconfig): Introduce the ability to change the expiry of a kubeconfig EE-1153 ( #5421 )
...
* feat(kubeconfig) EE-1153 Introduce the ability to change the expiry of a kubeconfig
* feat(kubeconfig) EE-1153 pr feedback update
* feat(kubeconfig) EE-1153 code cleanup
Co-authored-by: Simon Meng <simon.meng@portainer.io >
2021-09-01 09:23:21 +12:00
cong meng
c597ae96e2
feat(k8s): review the resource assignement when creating a kubernetes application EE-437 ( #5254 )
...
* feat(nodes limits)Review the resource assignement when creating a Kubernetes application EE-437
* feat(nodes limits) review feedback EE-437
* feat(nodes limits) workaround for lodash cloneDeep not working in production mode EE-437
* feat(nodes limits) calculate max cpu of slide bar with floor function instead of round function EE-437
* feat(nodes limits) another review feedback EE-437
* feat(nodes limits) cleanup code EE-437
* feat(nodes limits) EE-437 pr feedback update
* feat(nodes limits) EE-437 rebase onto develop branch
* feat(nodes limits) EE-437 another pr feedback update
Co-authored-by: Simon Meng <simon.meng@portainer.io >
2021-09-01 09:08:01 +12:00
zees-dev
b4f4ef701a
feat(kubeconfig): kubeconfig download functionality EE-1202 ( #5386 )
...
* backend migration/backport
* Feat(kubeconfig): kubeconfig download button frontend EE-1202 (#5385 )
* kubeconfig download button frontend
* fix kubeconfig download button
* backend migration/backport
* moved ng-if up one level
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
* resolved conflicts, updated code
* - kube-config -> kube-config-download-button
- fixed kubeconfig file name (bug)
Co-authored-by: Richard Wei <54336863+WaysonWei@users.noreply.github.com >
2021-08-31 10:07:50 +12:00
Stéphane Busso
6ccabb2b88
Bump to 2.6.3
2021-08-30 12:47:42 +12:00
Chaim Lev-Ari
1830a80a61
feat(k8s/resource-pool): add the ability to mark/unmark resource pool as system ( #5360 )
...
* feat(k8s/resource-pool): add the ability to mark/unmark resource pool as system
fix(kube/ns): check label to see if namespace is system
refactor(k8s/namespaces): rename variables
feat(kubernetes): toggle system state in the server (#5361 )
fix(app/resource-pool): UI fixes
feat(app/resource-pool): add confirmation modal when unamrking system namespace
* refactor(app): review changes
* feat(app/namespaces): introduce store to retrieve namespace system status without changing all the kubernetes models
refactor(app/namespaces): remove unused code first introduced for system tagging
fix(app/namespaces): cache namespaces to retrieve system status regardless of namespace reference format
refactor(app): migrate namespace store from helper to a separate singleton
refactor(app): remove KubernetesNamespaceHelper from DI cycle
* refactor(app): normalize usage of KubernetesNamespaceHelper functions
* refactor(app/k8s): change namespace store to functions instead of class
Co-authored-by: LP B <xAt0mZ@users.noreply.github.com >
2021-08-26 16:00:59 +02:00
cong meng
d6e291db15
fix(kubectl): EE-1342 non-admin users cannot connect to the local kube cluster using kubectl shell ( #5475 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io >
2021-08-26 11:31:22 +12:00
Chaim Lev-Ari
5fd92d8a3f
feat(kubernetes): fetch config file with endpoint name ( #5368 ) [EE-1159]
2021-08-23 09:24:00 +03:00
zees-dev
db1f182670
removed kubeconfig tls check ( #5443 )
2021-08-23 10:53:08 +12:00
cong meng
5fe7526de7
feat(dockerhub): EE-1384 new endpoint prefix for proxying requests to agent ( #5428 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io >
2021-08-20 15:04:28 +12:00
cong meng
6b37235eb4
feat(edge) EE-947 provide a way to re-associate an Edge endpoint with a new Edge key ( #5413 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io >
2021-08-18 08:25:34 +12:00
Dmitry Salakhov
bcccdfb669
feat(stacks): support automated sync for stacks [EE-248] ( #5340 )
2021-08-17 13:12:07 +12:00
Chaim Lev-Ari
11d555bbd6
feat(server): use https by default ( #5315 ) [EE-332]
2021-08-10 07:59:47 +03:00
cong meng
9af291b67d
feat(edge) EE-743 enable signature checking for edge agent ( #5355 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io >
2021-08-09 17:22:41 +12:00
Matt Hook
cb3968b92f
Fix parsing of content-type field ( #5356 )
2021-08-06 16:39:26 +12:00
Hui
56f569efe1
fix(oauth): remove expiry time copy logic EE-1085
2021-08-06 00:54:38 +12:00
zees-dev
665bf2c887
feat(kubernetes/shell): kubectl web shell and kubeconfig functionality EE-448 ( #5229 )
...
* feat(kubernetes/shell): backport kubectl shell backend functionality EE-849 (#5168 )
* backported core backend kubectl shell functionality
* - backported kubectl shell unit tests
- backported k8s cli interface update
- backported k8s client library fake patch
* refactored backend to match EE
* fixed test error typo
* GetServiceAccountName -> GetServiceAccount - making the function reusable in multiple contexts
* feat(kubernetes/shell): backport kubeconfig generation backend functionality EE-1004 (#5213 )
* backported core backend kubectl shell functionality
* refactored backend to match EE
* - backported kubernetes backend handler implementation
- backported kubernetes config endpoint
- backported kubeconfig file generation
- backported kubeconfig and yaml unit tests
- backported updates to kubeclient interfaces
* feat(app): kubectl shell ui backport EE-927 (#5221 )
* Kubectl UI backport to CE
* fix authentication redirect issue
* comment out redirect function
* fix shell full width & change name of shell
* disable button when terminal connected
* fixed whitespace changes for css
* fixed whitespace changes for html
* linting fixes
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
* feat(kubernetes/shell): backport of kubeconfig export functionality EE-926 (#5228 )
* EE backport of kubeconfig UI functionality
* using angularjs constant instead of hardcoded URL
* updated portainer kubectl shell image
* fix kubectl button position issue in ce
* fix pod keep running when switching page
* feat(app): Kubectl shell ui EE-833 EE-1099 (#5271 )
* fix kubectl shell css
* fix mini css issue
* fix tech issue for ui changes from review
* delete unuse file
* - refactored variable names
- restored content-wrapper scroll
- created object to store wrapper css
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
* addressing PR issues
* fix required changes from tech reviews (#5319 )
* fix required changes from tech reviews
* remove unuse css variable
* component refactor accoridng to PR and style guidelines
Co-authored-by: zees-dev <dev.786zshan@gmail.com >
* removed redundant dockerhub api endpoint variable
* - autoHeight -> terminal-window
- removed redundant try-catch
- saving config.yaml file as config
* fix(kube/shell): show error on failure
* fixed default https bug
* resolved merge conflicts
Co-authored-by: Richard Wei <54336863+WaysonWei@users.noreply.github.com >
Co-authored-by: richard <richard@richards-iMac-Pro.local >
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com >
2021-08-05 15:02:06 +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
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