common/Annotations.java

strimzi-kafka-operator · operator-common/src/main/java/io/strimzi/operator/common/Annotations.java · java · Apache-2.0
infra, Infra / DevOps

Utility class providing constants and helper methods for managing Kubernetes resource annotations.

// Source: https://github.com/strimzi/strimzi-kafka-operator | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright Strimzi authors.
 * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
 */
package io.strimzi.operator.common;

import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.client.CustomResource;
import io.strimzi.api.ResourceAnnotations;

import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;

import static java.lang.Boolean.parseBoolean;
import static java.lan

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key