Configuration Properties in the nevisoperator.yml File
The properties on this page apply to the nevisOperator application. You configure the settings that influence the behavior of the nevisOperator application by editing the nevisoperator ConfigMap in the namespace where it resides. The table below lists all currently supported settings.
Nested format
Due to the nature of YAML, you have to convert the properties to nested format.
| Property Name | Default | Description |
|---|---|---|
| git-init-image | - | Image used by the init container to initialize Git repositories. Not exposed by the Helm chart. |
| git-init-memory-limit | 1500Mi | Memory limit for the Git init container. Not exposed by the Helm chart. |
| image-prefix | - | The prefix to use when getting the image from the docker registry. Docker images are pulled using <registry>/<image-prefix>/<image-name>. |
| container-registry | - | Name of the container registry from which to pull all images. |
| container-registry-secret.name | The name of the secret containing the docker credentials If the registry needs credentials to be accessed, for more information see Create a Secret by providing credentials on the command line. | |
| restrict-namespace | Deprecated. Restricts nevisOperator to watch only the specified namespace. Not exposed by the Helm chart; use restrict-namespaces instead. | |
| secure-namespace | Namespace in which secure resources are managed. If unset, each resource namespace is considered secure. Not exposed by the Helm chart. | |
| secret-length | 10 | Length of randomly generated secrets. Not exposed by the Helm chart. |
| secret-runes | abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ | Characters used when generating random secrets. Not exposed by the Helm chart. |
| key-temp-storage-path | - | Filesystem path used for temporary certificate key storage. This option is required. The Helm chart sets this value to /tmp/ and does not expose it as a chart value. |
| csr-default-values.common-name | Default common name used for the created certificates. | |
| csr-default-values.country | Default country used for the created certificates. | |
| csr-default-values.province | Default province used for the created certificates. | |
| csr-default-values.locality | Default locality used for the created certificates. | |
| csr-default-values.organization | Default organization used for the created certificates. | |
| csr-default-values.organizational-unit | Default organization-unit used for the created certificates. | |
| csr-default-values.email-address | Default email used for the created certificates. | |
| csr-default-values.key-size | 2048 | Default size of the private key used for the created certificates. |
| key-management.cert-manager.issuer.name | Name of the cert-manager issuer to be used for creating the certificates. | |
| key-management.cert-manager.issuer.namespace | Namespace of the cert-manager issuer to be used for creating the certificates. Should be used if it's an Issuer and not a Clusterissuer | |
| key-management.cert-manager.signing-ca-secret.name | Name of the secret containing the ca of the cert-manager issuer. | |
| key-management.cert-manager.signing-ca-secret.namespace | Namespace of the secret containing the ca of the cert-manager issuer. | |
| key-management.cert-manager.certificate-duration | 8760h | The duration of created certificate. |
| key-management.cert-manager.approve-cr | false | Whether to approve the cert-manager certificate request. Not exposed by the Helm chart. |
| key-management.certificate-renew-time | 730h | Time before certificate expiry at which the certificate is considered expired and removed from the keystore. Not exposed by the Helm chart. |
| key-management.certificate-advance-renew-time | 1460h | Time before certificate expiry at which the next certificate secret is created. Not exposed by the Helm chart. |
| key-management.certificate-backup-renew-time | 168h | Time before a backup certificate expires at which it is removed from the truststore. Not exposed by the Helm chart. |
| debug-features | false | Enables debug features for certificate management such as writing the CSR file to the file system |
| restrict-namespaces | Restricts nevisOperator to watch only a list of namespaces. The nevisOperator only has access to the defined namespaces. | |
| ingress-class | Ingress class of the controller, see: http://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/. | |
| cluster-issuer | letsencrypt-prod | Issuer or ClusterIssuer that handles the certificate creation for the Ingress. |
| cluster-issuer-gateway | letsencrypt-prod-gw | Issuer or ClusterIssuer that handles the certificate creation for the Gateway. |
| cluster-issuer-annotation | cert-manager.io/issuer | Annotation to reference the Issuer or ClusterIssuer on the Ingress or Gateway. |
| pre-stop-sleep-time | 32 | Number of seconds to sleep in the container pre-stop hook. |
| shutdown-timer | 30 | Number of seconds allowed for application shutdown. |
| component-deletion-delay | 30 | Number of seconds to wait before deleting the previous component during a side-by-side deployment. Not exposed by the Helm chart. |
| sync-period | Interval at which controller resources are periodically reconciled. Uses the controller default when unset. Not exposed by the Helm chart. | |
| log-api-warnings | false | Logs warnings returned by the Kubernetes API. Not exposed by the Helm chart. |
| image-pull-policy | Always | Default image pull policy. |
| gateway-class-name | Name of the GatewayClass to use for created Gateways. |
An example ConfigMap with the nevisoperator.yml:
apiVersion: v1
data:
nevisoperator.yml: |
image-prefix: nevis
container-registry: <registryname>.azurecr.io
key-temp-storage-path: /tmp/
csr-default-values:
country: CH
province: Zurich
locality: Zurich
organization: "Nevis Security AG"
organizational-unit: Nevis
email-address: [email protected]
key-size: 4096
key-management:
cert-manager:
issuer:
name: ca-issuer
signing-ca-secret:
name: ca-root-secret
namespace: cert-manager
restrict-namespaces:
- cert-manager
- user100
- default