Compare commits

...

2 Commits

Author SHA1 Message Date
2b1e66b4d1 chore: Remove ./ from kustomization for consistency
All checks were successful
Build and deploy / build (push) Successful in 11m17s
2025-12-23 00:50:52 +01:00
766a487962 feat: Create namespace and set it explicitly
Some checks failed
Build and deploy / build (push) Has been cancelled
2025-12-23 00:48:44 +01:00
6 changed files with 14 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: lldap-controller name: lldap-controller
namespace: lldap
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: lldap-controller name: lldap-controller

View File

@@ -2,6 +2,7 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: lldap-controller name: lldap-controller
namespace: lldap
rules: rules:
- apiGroups: - apiGroups:
- lldap.huizinga.dev - lldap.huizinga.dev

View File

@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: lldap-controller name: lldap-controller
namespace: lldap
labels: labels:
app: lldap-controller app: lldap-controller
app.kubernetes.io/name: lldap-controller app.kubernetes.io/name: lldap-controller

View File

@@ -1,9 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: lldap
resources: resources:
- ./crds.yaml - namespace.yaml
- ./service-account.yaml - crds.yaml
- ./cluster-role.yaml - service-account.yaml
- ./cluster-role-binding.yaml - cluster-role.yaml
- ./deployment.yaml - cluster-role-binding.yaml
- deployment.yaml

4
manifests/namespace.yaml Normal file
View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: lldap

View File

@@ -2,6 +2,7 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: lldap-controller name: lldap-controller
namespace: lldap
labels: labels:
app: lldap-controller app: lldap-controller
app.kubernetes.io/name: lldap-controller app.kubernetes.io/name: lldap-controller