Skip to content

Using custom certificate for NiFi and automated restarts #33

Answered by nightkr
dmasice asked this question in Q&A
Discussion options

You must be logged in to vote

Hi.

The intended way to use a custom certificate is to create a custom SecretClass that uses the k8sSearch backend.

Nifi-Operator specifically doesn't currently support setting the secretclass (stackabletech/nifi-operator#499), but in the meantime it can be done using pod overrides:

apiVersion: nifi.stackable.tech/v1alpha1
kind: NifiCluster
metadata: ...
spec:
  ...
  nodes:
    ...
    podOverrides:
      spec:
        volumes:
          - name: keystore
            ephemeral:
              volumeClaimTemplate:
                metadata:
                  annotations:
                    secrets.stackable.tech/class: foo

This should prevent the restart annotation from being created, and s…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dmasice
Comment options

@nightkr
Comment options

Answer selected by dmasice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants