Pull Secret Trait
The Pull Secret trait sets a pull secret on the pod to allow Kubernetes to retrieve the container image from an external registry.
In a production environment it is highly advisable to provide such authentication and ensure the secret exists in the Integration namespace.
This trait is available in the following profiles: Kubernetes, Knative, OpenShift.
Configuration
Trait properties can be specified when running any integration with the CLI:
$ kamel run --trait pull-secret.[key]=[value] --trait pull-secret.[key2]=[value2] integration.yaml The following configuration options are available:
| Property | Type | Description |
|---|---|---|
|
| Can be used to enable or disable a trait. All traits share this common property. |
|
| The pull secret name to set on the Pod. |
|
| When using a global operator with a shared platform, this enables delegation of the Deprecated: may be removed in future releases. |
|
| Automatically configures the platform registry secret on the pod if it is of type |
the variable names are "snake case" if you’re using in kamel CLI, for example trait.myParam has to be translated as -t trait.my-param |