Skip to content

Commit

Permalink
fix relay elasticsearch secret bug
Browse files Browse the repository at this point in the history
Signed-off-by: Achref Ben Saad <[email protected]>
  • Loading branch information
achrefbensaad authored and rksharma95 committed Dec 21, 2024
1 parent d6a6314 commit 13213a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions pkg/KubeArmorOperator/internal/controller/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,6 @@ func (clusterWatcher *ClusterWatcher) UpdateKubearmorRelayEnv(cfg *opv1.KubeArmo
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: common.Adapter.ElasticSearch.Auth.CAcertSecretName,
Items: []corev1.KeyToPath{
{
Key: common.Adapter.ElasticSearch.Auth.CaCertKey,
Path: common.ElasticSearchAdapterCaCertPath,
},
},
},
},
},
Expand Down
6 changes: 0 additions & 6 deletions pkg/KubeArmorOperator/internal/controller/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,12 +592,6 @@ func (clusterWatcher *ClusterWatcher) WatchRequiredResources() {
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: common.Adapter.ElasticSearch.Auth.CAcertSecretName,
Items: []corev1.KeyToPath{
{
Key: common.Adapter.ElasticSearch.Auth.CaCertKey,
Path: common.ElasticSearchAdapterCaCertPath,
},
},
},
},
},
Expand Down

0 comments on commit 13213a5

Please sign in to comment.