some fixes

This commit is contained in:
Manfred Schreiber
2022-02-18 10:29:39 +01:00
parent 93968d9c2d
commit bfae74b3df
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -1,2 +1,3 @@
.idea .idea
.vscode .vscode
kubeconfigs/k3d-develop.yaml
+4 -1
View File
@@ -6,6 +6,9 @@ metadata:
# Add these permissions to "edit" default role. # Add these permissions to "edit" default role.
rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules: rules:
- apiGroups: ["helm.toolkit.fluxcd.io","kustomize.toolkit.fluxcd.io","notification.toolkit.fluxcd.io","source.toolkit.fluxcd.io"] - apiGroups: ["helm.toolkit.fluxcd.io","kustomize.toolkit.fluxcd.io","notification.toolkit.fluxcd.io"]
resources: ["*"] resources: ["*"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["source.toolkit.fluxcd.io"]
resources: ["gitrepositories"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
+1
View File
@@ -89,6 +89,7 @@ clean() {
CLUSTERDIR=$FLUXDIR/clusters/k3d-develop CLUSTERDIR=$FLUXDIR/clusters/k3d-develop
HOSTKEYDIR=$WORKDIR/local-git/ssh_host_keys HOSTKEYDIR=$WORKDIR/local-git/ssh_host_keys
ssh-add -d $KEYDIR/identity.pub
rm $HOSTKEYDIR/ssh_host_* rm $HOSTKEYDIR/ssh_host_*
rm $KEYDIR/* rm $KEYDIR/*
rmdir $KEYDIR rmdir $KEYDIR