Comments (4)
@phantomjinx I found that there is online.consoleLink
option in hawtconfig.json
for hawtio-operator, which is not present in hawtio/react. Do you know if it's used in hawtio-online? If it's not dead code but isn't utilised in hawtio-online, it might be something we miss.
hawtio-operator/pkg/apis/hawtio/v1alpha1/hawtio_types.go
Lines 230 to 249 in e654859
from hawtio-operator.
OK, I learned hard that the HawtioConfig
type here doesn't necessarily reflect the type definition provided by @hawtio/react
. HawtioConfig
generally only needs type definitions for what the operater uses. Ultimately, what is really needed is the online.consoleLink
for the operator, and the rest (even About
and Branding
) are not really needed here.
(@phantomjinx That answers my own question above. It's ok that we don't observe the usages of online.consoleLink
anywhere else, since hawtio-operator is where the option is consumed.)
That concludes this task of syncing the definitions between @hawtio/react
and hawtio-operator is not needed.
from hawtio-operator.
In addition, the recent changes I added to hawtconfig.json
at @hawtio/react
hawtio/hawtio-next#646 uses union type boolean | string[]
. JS/TS is fine to handle union types but Go isn't. That makes it really hard to encode the type definitions in the operator, so ultimately we should avoid using union types.
But for now, I don't think the operator will use the newly added option jmx.workspace
, and it really shouldn't as the operator should be agnostic to the configurations of specific Hawtio plugins, even if it's as basic as JMX.
from hawtio-operator.
I'm closing it as 'Wont Do'.
from hawtio-operator.
Related Issues (20)
- Migrate to quay.io HOT 2
- Upgrade hawt.io CRD to v1beta1 or v1 HOT 4
- Adopt hawtio-online v2 HOT 1
- Release hawtio-operator 1.0.0 HOT 1
- Consider dropping version in CR and baking it into the operator HOT 2
- Bump Go version HOT 3
- Introduce golangci-lint for linting the project
- Upgrade the go version to align with internal build systems HOT 2
- Hawtio Operator is producing 'already exist' errors for configmap in log HOT 4
- Operator does not respect -X setting for ImageVersion in LDFlags HOT 1
- Add a conversion hook to ensure CRD apis can be converted from v1alphav1 to v1 HOT 9
- Upgrade the kubernetes api version from v1beta1 to v1 HOT 1
- v1 `hawtio-types.go` is not synched with v1alpha1 HOT 3
- Container image reference does not support sha256 checksums HOT 1
- Add support for installing hawtio on kubernetes
- Finalizers stop deleting a namespace after cleaning up a Hawtio instance
- Metadata propagation doesn't do anything HOT 4
- Disabled routes aren't disabled HOT 3
- Collect up all the instances of clients (runtimeClient, corev1Client, apiClient ...) into a single struct
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 hawtio-operator.