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
Yi Chen
ec71720ceb
Update github banner image ( #5388 )
2021-08-04 15:01:49 +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
zees-dev
ce31de5e9e
feat(kubernetes/resource-usage): k8s resource usage for cluster, node and namespace EE-3 EE-1112 ( #5301 )
...
* backported resource usage functionality from EE
* utilising view bound endpoint object instead of depracated EndpointProvider
* refactor flatmap
* addressed merge conflict issues
2021-07-28 14:26:03 +12:00
Matt Hook
cee7ac26e9
Fix dockerhub pro account rate-limit issue ( #5352 )
2021-07-27 10:49:28 +12:00
Chaim Lev-Ari
c943ac498f
feat(stacks): allow standalone to edit env vars ( #5255 )
...
Co-authored-by: Tobias Holler <mail@toubs.de>
2021-07-26 13:48:30 +03:00
Richard Wei
49f25e9c4c
fix(docker):Fix image pulled errorDetails not showing EE-936 ( #5336 )
...
* fix image pulled errorDetails not showing
* code clean up for errorDetail detection
2021-07-24 08:51:34 +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
c26af1449c
fix(app): Fix ports displayed twice when using docker EE-706 ( #5239 )
...
* fix duplicate port showing using docker
* fix changes from review by using lodash for filter
* move container filter in filter folder
* change filter name to unique for reuse
2021-07-23 11:29:01 +12:00
Chaim Lev-Ari
fe07815fc7
fix(images): ensure latest image ( #5274 )
2021-07-22 12:19:48 +03:00
Richard Wei
c56c236e3a
fix(stack): show warning if endpoint is selected ( #5234 )
...
* fix/EE-916/Invalid warning in stack details
* fix typo for isEndpointSelected function
* check yarmlError is valid
* combine yamlError and isEndpointSelected into one linie
2021-07-22 16:21:25 +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
592f7024e1
fix(stacks): prevent stack creation when container_name already exists ( #5211 )
2021-07-21 13:55:06 +12:00
Richard Wei
00fc629c1c
fix charts x label padding ( #5327 )
2021-07-21 13:54:22 +12:00
Chaim Lev-Ari
6a9b386df8
fix(kube/nodes): show node events ( #5246 )
2021-07-20 16:49:33 +03:00
fhanportainer
308f828446
fix(k8s): fixed generating kube auction summary issue ( #5331 )
2021-07-19 19:45:20 +12:00
Chaim Lev-Ari
89756b2e01
fix(kube/app): show resource allocation ( #5317 )
2021-07-19 10:44:48 +03: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
cong meng
33b428eb7f
EE-1110 Ingress routes and their mapping to a application name are not deleted when the application is deleted ( #5291 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-07-09 10:41:04 +12:00
Chaim Lev-Ari
c6b770d697
feat(edgestack): remove deploy message ( #5279 )
...
[EE-392]
2021-07-08 11:39:52 +12:00
fhanportainer
d48f6bd02c
fix(ingress): fixed hostname field when having multiple ingresses EE-1072 ( #5273 )
2021-07-05 18:17:20 +12:00
Stéphane Busso
340805f880
fix download logs ( #5243 )
2021-07-05 11:10:10 +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
Richard Wei
8b80eb1731
fix(app):Set resource assignment default to off EE-1043 ( #5248 )
...
test passed.
2021-06-30 19:15:28 +12:00
Chaim Lev-Ari
1ddf76dbda
fix(git-form): show git form and clear auth values ( #5224 )
...
* fix(custom-templates): show git form
fix [EE-1025]
* fix(git-form): empty auth values when auth is off
2021-06-23 12:33:22 +12:00
cong meng
5466e68f50
fix(ACI): At least one team or user should be specified when creating a restricted container in Azure ACI EE-578 ( #5204 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-18 11:30:18 +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
yi-portainer
6a88c2ae36
Merge branch 'release/2.5' into develop
2021-06-16 17:31:00 +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
cong meng
296ecc5960
fix(k8s) Adding a Kube app does not allow Global to be set after removing persisted folder EE-563 ( #5143 )
...
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-15 15:53:31 +12:00
Chaim Lev-Ari
d7bc4f9b96
fix(stacks): show missing status stacks ( #5047 )
...
Co-authored-by: dbuduev <dbuduev@gmail.com>
2021-06-14 14:40:00 +02:00
itsconquest
a5e8cf62d2
feat(UX): introduce new env variables UI ( #4175 )
...
* feat(app): introduce new env vars ui
feat(app): introduce new env vars ui
feat(UX): WIP new env variables UI
feat(UX): update button and placeholder
feat(UX): mention .env file in message
feat(UX): allow add/remove value & load correctly
feat(UX): restrict filesize to 1MB
feat(UX): vertical align error message
feat(UX): fill UI from file & when switching modes
feat(UX): strip un-needed newline character
feat(UX): introduce component to other views
feat(UX): fix title alignment
feat(UX): only populate editor on mode switch when key exists
feat(UX): prevent trimming of whitespace on values
feat(UX): change editor to async
feat(UX): add message describing use
feat(UX): Refactor variable text to editorText
refactor(app): rename env vars controller
refactor(app): move env var explanation to parent
refactor(app): order env var panels
refactor(app): move simple env vars mode to component
refactor(app): parse env vars
refactor(app): move styles to css
refactor(app): rename functions
refactor(container): parse env vars
refactor(env-vars): move utils to helper module
refactor(env-vars): use util function for parse dot env file
fix(env-vars): ignore comments
refactor(services): use env vars utils
refactor(env-vars): rename files
refactor(env-panel): use utils
style(stack): revert EnvContent to Env
style(service): revert EnvContent to Env
style(container): revert EnvContent to Env
refactor(env-vars): support default value
refactor(service): use new env var component
refactor(env-var): use one way data flow
refactor(containers): remove unused function
* fix(env-vars): prevent using non .env files
* refactor(env-vars): move env vars items to a component
* feat(app): fixed env vars form validation in Stack
* feat(services): disable env form submit if invalid
* fix(app): show key pairs correctly
* fix(env-var): use the same validation as with kubernetes
* fix(env-vars): parse env var
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
Co-authored-by: Felix Han <felix.han@portainer.io>
2021-06-14 18:59:07 +12:00
zees-dev
6e9f472723
feat(container-stats): introduce container block I/O stats ( #5017 )
...
* feat(container-stats):introduce container block io stats
* Change charts to 2x2 view
* fix(container-stats): handle missing io stats by detecting stats based on op codes
Co-authored-by: DarkAEther <30438425+DarkAEther@users.noreply.github.com>
2021-06-14 15:57:00 +12:00
cong meng
dc180d85c5
Feat 4612 real time metrics for kube nodes ( #4708 )
...
* feat(k8s/node): display realtime node metrics GH#4612
* feat(k8s): show observation timestamp instead of real timestamp GH#4612
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-14 12:29:41 +12:00
Maxime Bajeux
45ceece1a9
feat(application): Invalid environment variable form validation when creating an application ( #5019 )
2021-06-14 11:06:54 +12:00
Chaim Lev-Ari
0b85684168
fix(app): parse response with null body ( #4654 )
...
* fix(app): parse response with null body
* style(docker): add comment explaining change
* fix(images): show correct error when failing import
* fix(images): use async await
2021-06-11 12:05:54 +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
Richard Wei
14ac005627
fix(app):fix local k8s endpoint not saved EE-825 ( #5162 )
2021-06-11 09:36:17 +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
zees-dev
eae2f5c9fc
feat(kubernetes/summary): summary of k8s actions upon deploying/updating resources EE-436 ( #5137 )
...
* feat EE-440/EE-436 kubernetes-resources-summary-panel
* bugfix: returning created resources after update
* fixed patch based bugs - displaying accurate updates for k8s resources
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-10 10:38:23 +12:00
cong meng
1f2a90a722
fix(frontend): When a docker endpoint is selected, configuring a newly added k8s agent fails EE-821 ( #5115 )
...
* fix(frontend): When a docker endpoint is selected, configuring a newly added k8s agent fails EE-821
* fix(frontend): restore endpointID in a finally block EE-821
Co-authored-by: Simon Meng <simon.meng@portainer.io>
2021-06-09 21:54:36 +02:00
fhanportainer
267968e099
fix(aci): fixed aci with persistence or networking issue. ( #4996 )
2021-06-10 01:34:19 +12:00
testA113
2fb17c9cf9
Merge pull request #4983 from portainer/feat/EE-352/CE-truncate-image-name-in-tables
...
feat(k8s): truncate image name in tables
2021-06-04 15:20:26 +12:00
Alice Groux
b8660ed2a0
feat(k8s/applications): reorder placement policies and select mandatory by default ( #5063 )
2021-06-03 13:42:44 +02:00
Chaim Lev-Ari
230f8fddc3
fix(kube): replace remaining resource pool texts
2021-06-01 11:56:47 +03:00
Chaim Lev-Ari
6734f0ab74
feat(k8s): replace resource pool with name space
2021-06-01 11:52:05 +03:00