Skip to content

Commit

Permalink
Update after merging v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Louis Sergent committed Dec 15, 2022
1 parent 1b162d6 commit f8c34ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 4 additions & 0 deletions api/v1/nificluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,10 @@ type SSLSecrets struct {
// +kubebuilder:validation:Enum={"cert-manager","vault"}
PKIBackend PKIBackend `json:"pkiBackend,omitempty"`
//,"vault"
// set to true to enable nodes auto restart when cert-manager's certificate expires, only works if the Issuer is
// cert-manager
// +kubebuild:default=false
TriggerNodeRestartOnCertifUpdate bool `json:"TriggerNodeRestartOnCertifUpdate,omitempty"`
}

// TODO : Add vault
Expand Down
4 changes: 4 additions & 0 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions pkg/resources/nifi/nifi.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ import (

v1 "github.com/konpyutaika/nifikop/api/v1"

"github.com/konpyutaika/nifikop/pkg/clientwrappers/dataflow"
"github.com/konpyutaika/nifikop/pkg/clientwrappers/scale"
"github.com/konpyutaika/nifikop/pkg/nificlient/config"
"github.com/konpyutaika/nifikop/pkg/pki"
nifiutil "github.com/konpyutaika/nifikop/pkg/util/nifi"
"go.uber.org/zap"

"emperror.dev/errors"
"github.com/banzaicloud/k8s-objectmatcher/patch"
"github.com/konpyutaika/nifikop/pkg/clientwrappers/controllersettings"
Expand Down

0 comments on commit f8c34ad

Please sign in to comment.