(no commit message)
authorstephan48 <stephan48@web>
Thu, 20 Apr 2023 18:34:12 +0000 (20:34 +0200)
committerIkiWiki <ikiwiki.info>
Thu, 20 Apr 2023 18:34:12 +0000 (20:34 +0200)
posts/2023-04-20-fluxcd2-kustomization-delegation-caveats.mdwn

index 3bb6d24b839cb48d5d9c47008e564179818d1394..db7856f6138b1eef1748abdfffa84ea889afbbbb 100644 (file)
@@ -2,11 +2,16 @@ Hi,
 
 when you use fluxcd2 to allow teams/apps to be seperated into namesapces and wanna use PLOP/limit to the target namespace, be carefull with the following:
 
-- Errors around secrets are masked as "error: data values must be of type string" as per (this discussion)[https://github.com/fluxcd/flux2/discussions/2355] - disable/remove them for testing, otherwhise you can't debug, this is a gross UX issue.
-- You apply the kustomization(kustomize.toolkit.fluxcd.io/v1beta1) referencing the remote repo/stuff the following mess of namespaces apply:
-    - the resource itself goes into namespace A
-    - targetNamespace - should place stuff into namespace B
-    - telling it to use a "serviceAccountName" -> needs to exist in namespace A but needs to have permission in namespace B
-    - use decryption -> secretRef for that needs to be in namespace A
+* Errors around secrets are masked as "error: data values must be of type string" as per (this discussion)[https://github.com/fluxcd/flux2/discussions/2355]
+    - disable/remove them for testing, otherwhise you can't debug, this is a gross UX issue.
+* You apply the kustomization(kustomize.toolkit.fluxcd.io/v1beta1) referencing the remote repo/stuff the following mess of namespaces apply:
+    - the resource itself
+        - goes into namespace A
+    - targetNamespace
+        - should place stuff into namespace B
+    - telling it to use a "serviceAccountName"
+        - needs to exist in namespace A but needs to have permission in namespace B
+    - use decryption
+        - secretRef for that needs to be in namespace A
 
 More to be followed :)