Comments (4)
ahh maybe I don't understand the setting correctly - is it like a filter for which labels and annotations from the Hawtio CR to propagate?
from hawtio-operator.
Looking at the code, I believe you can add Annotations and Labels to the Hawtio CR. By default, all of these will be propogated to the operand resources. The metadataPropagation
filters the propogation by pattern matching. Not sure why this function is part of the operator as does not appear massively useful to me but maybe users require it??
from hawtio-operator.
yes it's requested by a user. if you dig into the code history you'll find the ticket number.
from hawtio-operator.
This is working correctly and functions by propogating labels / annotations that are added to the CR via the propogation filtering.
apiVersion: v1
items:
- apiVersion: hawt.io/v1
kind: Hawtio
metadata:
annotations:
awesome.com/env: dev
awesome.com/param1: value1
awesome.com/param2: value2
noprop.com/noprop: nothing
labels:
env: dev
param1: value1
param2: value2
name: hawtio-online
spec:
auth:
clientCertCheckSchedule: '* */12 * * *'
clientCertExpirationPeriod: 24
config:
metadataPropagation:
annotations:
- awesome.com/*
labels:
- env
- param*
...
So the annotations and labels added to the metadata
section of the CR above are propogated to the resources of the hawtio-online operand, with the exception of noprop.com/noprop
which is not included in the metadataPropogation
property.
from hawtio-operator.
Related Issues (20)
- Add support for installing hawtio on kubernetes
- Finalizers stop deleting a namespace after cleaning up a Hawtio instance
- Disabled routes aren't disabled HOT 3
- Collect up all the instances of clients (runtimeClient, corev1Client, apiClient ...) into a single struct
- Support install of hawtio-online gateway image
- Upgrade hawt.io CRD to v1beta1 or v1 HOT 4
- Adopt hawtio-online v2 HOT 1
- Update HawtioConfig type to match `@hawtio/react` hawtconfig.json model HOT 4
- 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 10
- 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
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.