mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Use ArangoMember as owner reference for syncmaster secrets instead of Deployment (#1394)
This commit is contained in:
parent
d697216e08
commit
ae2c48e6d4
2 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
|||
- (Bugfix) Fix PVC Rotation Discovery
|
||||
- (Feature) Allow to pass EphemeralStorage Resource to the Pods
|
||||
- (Feature) Add basic metrics for ArangoDeploymentReplication CR
|
||||
- (Bugfix) Use ArangoMember as owner reference for syncmaster secrets instead of Deployment
|
||||
|
||||
## [1.2.32](https://github.com/arangodb/kube-arangodb/tree/1.2.32) (2023-08-07)
|
||||
- (Feature) Backup lifetime - remove Backup once its lifetime has been reached
|
||||
|
|
|
@ -518,7 +518,7 @@ func (r *Resources) createPodForMember(ctx context.Context, cachedStatus inspect
|
|||
return errors.WithStack(errors.Wrapf(err, "Failed to render alt names"))
|
||||
}
|
||||
|
||||
owner := apiObject.AsOwner()
|
||||
owner := arangoMember.AsOwner()
|
||||
_, err = createTLSServerCertificate(ctx, log, cachedStatus, cachedStatus.SecretsModInterface().V1(), names, spec.Sync.TLS, tlsKeyfileSecretName, &owner)
|
||||
if err != nil && !kerrors.IsAlreadyExists(err) {
|
||||
return errors.WithStack(errors.Wrapf(err, "Failed to create TLS keyfile secret"))
|
||||
|
|
Loading…
Reference in a new issue