Commit Graph

14 Commits

Author SHA1 Message Date
Nancy Butler b8a996c43f revert NameNsDescription and filter annotations, labels in create-edit-view 2020-04-24 12:04:15 -07:00
Nancy Butler 6249c766ab placeholder visibility
secret type display in edit form

add custom secret types

description as prop in namens

secret styling

service account link in list view for service acct token secrets
2020-04-24 12:04:15 -07:00
Cody Jackson 2cc259d241 Remove new yaml serialization
Adding serialization to the scope of the currently pr has become
slightly unwieldy. I'm going to put the serialization into a separate
pr.
2020-04-15 10:00:09 -07:00
Cody Jackson fea71ffae2 Refactored YAML editing to better support parameters
We needed a way to support arbitrarily complex parameters in both
type and nesting level. As a temporary solution I enabled the user
to toggle between a key value component and a yaml editor.

To enable this I refactored ResourceYaml into a composable YamlEditor
component that can be used elsewhere.

rancher/dashboard#388
rancher/dashboard#380
2020-04-15 09:53:24 -07:00
Cody Jackson 30cc6e3053 Namespace filtering and type editing
- Make system namespaces a part of the excluded namespaces match by default.
- Remove system namespaces from the options of namespace match
- Ensure that the types are getting edited appropriately.

rancher/dashboard#455
rancher/dashboard#503
2020-04-13 14:53:21 -07:00
Vincent Fiduccia 780647a15d
Merge branch 'master' into namespaces 2020-03-26 16:31:01 -07:00
Vincent Fiduccia c8b886c484
Merge pull request #430 from codyrancher/api-groups
Adding ApiGroups to Constraints by default
2020-03-26 16:29:04 -07:00
Cody Jackson f7dad4c923 Removing namespaces from match when empty
There's an upstream issue which prevents gatekeeper from processing
namespaces with empty lists incorrectly. We need to remove the
namespaces field if it's empty.
https://github.com/open-policy-agent/gatekeeper/issues/508
2020-03-26 13:58:40 -07:00
Cody Jackson dda4e5f2d6 Adding ApiGroups to Constraints by default
rancher/dashboard#387
2020-03-26 13:44:23 -07:00
Cody Jackson 797c038d4d Adding ApiGroups to Constraints by default
rancher/dashboard#387
2020-03-26 13:27:05 -07:00
Cody Jackson 1a5d557d07 Adding enforcement action param to constraints
rancher/dashboard#390
2020-03-26 10:56:37 -07:00
Cody Jackson a84968ef68 Fix Selectors according to the selected operation
The set operators should not have a values field when getting saved.

rancher/dashboard#404
2020-03-25 15:29:17 -07:00
Cody Jackson 7d7e3b60b7 Updated the gatekeeper constraints and templates
this should better reflect the new Mocks.

rancher/dashboard#305
2020-03-15 01:34:30 -07:00
Cody Jackson 1265853652 Implement the view, create and edit pages for constraints
This implementst the view, create and edit pages for the
gatekeeper constraints. The constraint templates weren't
touched since we intend to only use the yaml editor.

rancher/dashboard#307
2020-03-02 12:43:39 -07:00