Comments (9)
we could rely on AdminWhitelistRule#setMasterKillSwitch()
, but need some way to define a yaml path to this extension. We can't just expose all extensions, need to define which ones have to be included and how to.
I wonder why AdminWhitelistRule is not exposed as a ManagementLink or something similar. I don't even know how one access it's configuration UI, can't find this in UI menus
from configuration-as-code-plugin.
ok, this is actually managed by jenkins.security.s2m.MasterKillSwitchConfiguration without an explicit setter and manual databinding. So can't be supported out-of-the-box and will require some glue code (or fix in core)
from configuration-as-code-plugin.
The UI is in "Configure Global Security/Enable Agent → Master Access Control"
from configuration-as-code-plugin.
yes, indeed. But this UI is exposed by MasterKillSwitchConfiguration
which delegates to AdminWhitelistRule
. There's few places where such a pattern applies, mostly for backward compatibility. I think we should get some @ManagedBy
or @DelegateTo
annotation to document this and make this discoverable by introspection.
from configuration-as-code-plugin.
I was referring to your comment that you could not find it in the UI menus.
I understand it requires some changes in core. This is why I raised this issue instead of creating PR (: . Regards,
Ohad
from configuration-as-code-plugin.
Working on it, important for remoting
from configuration-as-code-plugin.
It would be great to merge it for jenkinsci/jenkins#2930
from configuration-as-code-plugin.
from configuration-as-code-plugin.
Thanks @oleg-nenashev.
from configuration-as-code-plugin.
Related Issues (20)
- io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration: '/var/jenkins_home/casc_configs/configuration-as-code-staging' isn't a valid path.
- Bug with Theme Manager using Environment Variable
- Snake YAML Missing function HOT 5
- `$StaplerConverterImpl` is invoked with unexpected arguments
- Nicer error page on configuration error
- CasC support DateParameter plugin?
- Reload existing configuration failure HOT 10
- Not able to configure pipeline jobs using the JCasC plugin
- No configurator for the following root elements services HOT 8
- Invalid configuration elements for type class jenkins.model.GlobalConfigurationCategory$Security : queueItemAuthenticator HOT 4
- JCasC - configure a hudson.security.SecurityRealm HOT 3
- Typo / Name Change in Configuration as Code for gitscm demo HOT 6
- warning popup about master migration HOT 2
- SSH private key credential is corrupted by export + import HOT 2
- Add JUnit5 Annotation support for Test Cases
- Missing information how to generate/create yaml file HOT 1
- JCASC not able export create yaml with "list view swithin nested view" HOT 1
- Configuration As Code Plugin compatible with Scriptler HOT 1
- Jenkins Configuration Reload issue - ERROR 401 Unauthorized
- java.lang.IllegalArgumentException: No hudson.tools.ToolInstaller implementation found for jdkInstaller on Jenkins 2.440.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from configuration-as-code-plugin.