Skip to content

Commit

Permalink
Merge pull request #27 from shahiinn/master
Browse files Browse the repository at this point in the history
Release of jfrog-registry-operator 1.4.1
  • Loading branch information
oumkale authored Sep 3, 2024
2 parents 2cc06e0 + 40cf463 commit 2402546
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# jfrog.com/operator-bundle:$VERSION and jfrog.com/operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= docker.jfrog.io/jfrog/jfrog-registry-operator:1.3.0
IMAGE_TAG_BASE ?= docker.jfrog.io/jfrog/jfrog-registry-operator:1.4.1

# BUNDLE_IMG defines the image:tag used for the bundle.
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
Expand Down
3 changes: 3 additions & 0 deletions charts/jfrog-registry-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# JFrog Secret Rotator Operator Chart Changelog
All changes to this chart will be documented in this file.

## [1.4.1] - Sept 03, 2024
* Release of jfrog-registry-operator `1.4.1`

## [1.3.0] - Jul 17, 2024
* Release of jfrog-registry-operator `1.3.0`

Expand Down
2 changes: 1 addition & 1 deletion charts/jfrog-registry-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kubeVersion: ">= 1.19.0-0"
type: application
name: jfrog-registry-operator
home: https://jfrog.com/platform/
version: 1.3.0
version: 1.4.1
appVersion: 1.x-SNAPSHOT
dependencies:
- name: jfrog-common
Expand Down
2 changes: 1 addition & 1 deletion charts/jfrog-registry-operator/full-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
image:
registry: releases-docker.jfrog.io
repository: jfrog/jfrog-registry-operator
tag: 1.3.0
tag: 1.4.1

pullPolicy: IfNotPresent
# pullSecrets:
Expand Down
2 changes: 1 addition & 1 deletion charts/jfrog-registry-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
image:
registry: releases-docker.jfrog.io
repository: jfrog/jfrog-registry-operator
tag: 1.3.0
tag: 1.4.1

pullPolicy: IfNotPresent
# pullSecrets:
Expand Down
2 changes: 1 addition & 1 deletion config/deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
- ./operator
args:
- --leader-elect
image: releases-docker.jfrog.io/jfrog/jfrog-registry-operator:1.3.0
image: releases-docker.jfrog.io/jfrog/jfrog-registry-operator:1.4.1
name: manager
ports:
- containerPort: 8080
Expand Down
9 changes: 6 additions & 3 deletions controllers/secretrotator_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@ func (r *SecretRotatorReconciler) InitializeResource(ctx context.Context, tokenD
return err
}

// HandleCerts method copies certificates into the container
if err := resource.HandleCerts(ctx, secretRotator.Spec.Security.SecretNamespace, secretRotator.Spec.Security.CertificateSecretName, secretRotator.Name, r.Client); err != nil {
return err
if secretRotator.Spec.Security.Enabled {
// HandleCerts method copies certificates into the container
if err := resource.HandleCerts(ctx, secretRotator.Spec.Security.SecretNamespace, secretRotator.Spec.Security.CertificateSecretName, secretRotator.Name, r.Client); err != nil {
return err
}
}

return nil
}

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/install/customvalues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ global:
image:
registry: releases-docker.jfrog.io
repository: jfrog/jfrog-registry-operator
tag: 1.3.0
tag: 1.4.1

pullPolicy: IfNotPresent
# pullSecrets:
Expand Down

0 comments on commit 2402546

Please sign in to comment.