1
0
Fork 0
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:
Nikita Vaniasin 2023-09-15 11:06:54 +02:00 committed by GitHub
parent d697216e08
commit ae2c48e6d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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"))