Skip to content

Commit

Permalink
Rename default namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Aug 16, 2024
1 parent 36aa8a7 commit 1da8d96
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/config/00-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#! of the application.

applicationNamespace:
name: "educates-lookup"
name: "educates-lookup-service"
exists: false

configurationNamespace:
Expand Down
26 changes: 26 additions & 0 deletions config/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: kappctrl.k14s.io/v1alpha1
kind: App
metadata:
name: educates-lookup-service-installer.educates.dev
namespace: educates-lookup-service-installer
spec:
serviceAccountName: educates-lookup-service-installer
syncPeriod: 87600h #! 10 years
fetch:
- imgpkgBundle:
image: ghcr.io/educates/educates-lookup-service-installer:main
template:
- ytt:
paths:
- config
valuesFrom:
- secretRef:
name: educates-lookup-service-values
- kbld:
paths:
- .imgpkg/images.yml
- '-'
deploy:
- kapp:
rawOptions:
- --app-changes-max-to-keep=5
24 changes: 24 additions & 0 deletions config/rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
kind: Namespace
apiVersion: v1
metadata:
name: educates-lookup-service-installer
---
kind: ServiceAccount
apiVersion: v1
metadata:
name: educates-lookup-service-installer
namespace: educates-lookup-service-installer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: educates-lookup-service-installer
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: educates-lookup-service-installer
namespace: educates-lookup-service-installer

0 comments on commit 1da8d96

Please sign in to comment.