Skip to content

Commit ae2c48e

Browse files
Use ArangoMember as owner reference for syncmaster secrets instead of Deployment (#1394)
1 parent d697216 commit ae2c48e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- (Bugfix) Fix PVC Rotation Discovery
1717
- (Feature) Allow to pass EphemeralStorage Resource to the Pods
1818
- (Feature) Add basic metrics for ArangoDeploymentReplication CR
19+
- (Bugfix) Use ArangoMember as owner reference for syncmaster secrets instead of Deployment
1920

2021
## [1.2.32](https://github.com/arangodb/kube-arangodb/tree/1.2.32) (2023-08-07)
2122
- (Feature) Backup lifetime - remove Backup once its lifetime has been reached

pkg/deployment/resources/pod_creator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ func (r *Resources) createPodForMember(ctx context.Context, cachedStatus inspect
518518
return errors.WithStack(errors.Wrapf(err, "Failed to render alt names"))
519519
}
520520

521-
owner := apiObject.AsOwner()
521+
owner := arangoMember.AsOwner()
522522
_, err = createTLSServerCertificate(ctx, log, cachedStatus, cachedStatus.SecretsModInterface().V1(), names, spec.Sync.TLS, tlsKeyfileSecretName, &owner)
523523
if err != nil && !kerrors.IsAlreadyExists(err) {
524524
return errors.WithStack(errors.Wrapf(err, "Failed to create TLS keyfile secret"))

0 commit comments

Comments
 (0)