Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
VERSION = $(shell grep "^version:" PROJECT | head -1 | sed 's/^version: *//' | tr -d '"' | tr -d ' ')
PREFIX = github.com/datasance/iofog-operator/v3/internal/util
LDFLAGS += -X $(PREFIX).routerTag=3.7.0
LDFLAGS += -X $(PREFIX).controllerTag=3.7.2
LDFLAGS += -X $(PREFIX).controllerTag=3.7.3
LDFLAGS += -X $(PREFIX).natsTag=2.12.4
LDFLAGS += -X $(PREFIX).repo=ghcr.io/datasance

Expand All @@ -15,7 +15,7 @@ endif

# Image URL to use all building/pushing image targets
REGISTRY ?= ghcr.io/datasance
VERSION_TAG ?= 3.7.1
VERSION_TAG ?= 3.7.2
IMG ?= $(REGISTRY)/operator:$(VERSION_TAG)
BUNDLE_IMG ?= $(REGISTRY)/operator-bundle:$(VERSION_TAG)
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
Expand Down
8 changes: 4 additions & 4 deletions bundle/manifests/iofog-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2026-03-24T22:17:35Z"
createdAt: "2026-04-16T11:41:45Z"
operators.operatorframework.io/builder: operator-sdk-v1.37.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
name: iofog-operator.v3.7.1
name: iofog-operator.v3.7.2
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -173,7 +173,7 @@ spec:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: iofog-operator
image: ghcr.io/datasance/operator:3.7.1
image: ghcr.io/datasance/operator:3.7.2
imagePullPolicy: Always
name: iofog-operator
resources: {}
Expand All @@ -200,4 +200,4 @@ spec:
minKubeVersion: 1.18.0
provider:
name: Datasance
version: 3.7.1
version: 3.7.2
2 changes: 2 additions & 0 deletions config/cr/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
resources:
- controlplane.yaml
2 changes: 1 addition & 1 deletion config/operator/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: ghcr.io/datasance/operator
newName: ghcr.io/datasance/operator
newTag: 3.7.1
newTag: 3.7.2
5 changes: 5 additions & 0 deletions controllers/controlplanes/microservices.go
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,11 @@ func newNatsMicroservice(cfg natsMicroserviceConfig) *microservice {
{Name: "jetstream-key", VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: cfg.jetStreamKeySecret}}},
{Name: "sys-user-creds", VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: nats.HubSystemUserCredsSecret, Items: []corev1.KeyToPath{{Key: nats.HubSystemUserCredsDataKey, Path: "admin-hub.creds"}}}}},
},
securityContext: &corev1.PodSecurityContext{
RunAsUser: ptr.To[int64](10000), // UID
RunAsGroup: ptr.To[int64](10000), // GID
FSGroup: ptr.To[int64](10000), // FSGroup
},
containers: []container{
{
name: "nats",
Expand Down
3 changes: 3 additions & 0 deletions controllers/controlplanes/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ func (r *ControlPlaneReconciler) reconcileDBCredentialsSecret(ctx context.Contex

if secret.Name == controllerDBCredentialsSecretName {
secret.Labels = mergeLabels(stdLabels, secret.Labels)
if setErr := controllerutil.SetControllerReference(&r.cp, secret, r.Scheme); setErr != nil {
return false, setErr
}
found := &corev1.Secret{}

err := r.Client.Get(ctx, types.NamespacedName{Name: secret.Name, Namespace: secret.Namespace}, found)
Expand Down
Loading