Skip to content

Commit 8426966

Browse files
fix(controller): correctly reflect secret type (#146)
Signed-off-by: Oliver Bähler <[email protected]>
1 parent e37b3d9 commit 8426966

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/controllers/sopssecret_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ func (r *SopsSecretReconciler) reconcileSecret(
326326
}
327327

328328
target.StringData = secret.StringData
329+
target.Type = secret.Type
329330

330331
log.V(7).Info("patching secret", "manifest", "secret")
331332

0 commit comments

Comments
 (0)