Managing Cert Manager metadata
You can add labels to the
ibm-cert-manager-operator resources automatically with
the spec.labels parameter.
spec.labels
To add labels to the ibm-cert-manager-operator
resources such as pods, add the spec.labels parameter
with the key and value pairs in the YAML file.
| Parameter | Type | Description |
|---|---|---|
| spec | object | The spec parameter defines the desired state of the
CertManagerConfig. |
| spec.labels | object | The spec.labels parameter is used to add labels to the
ibm-cert-manager-operator resources automatically. |
The following is the sample YAML file with the
spec.labels parameter:
apiVersion: operator.ibm.com/v1
kind: CertManagerConfig
metadata:
name: default
spec:
labels:
appName: CertManager
Note: You can add or update labels in the
spec.labels parameter. The existing labels cannot be
removed automatically from the
ibm-cert-manager-operator resource when you remove
labels from the spec.labels parameter.