some fixes
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
.idea
|
||||
.vscode
|
||||
kubeconfigs/k3d-develop.yaml
|
||||
|
||||
@@ -6,6 +6,9 @@ metadata:
|
||||
# Add these permissions to "edit" default role.
|
||||
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||||
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: ["*"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
- apiGroups: ["source.toolkit.fluxcd.io"]
|
||||
resources: ["gitrepositories"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
@@ -89,6 +89,7 @@ clean() {
|
||||
CLUSTERDIR=$FLUXDIR/clusters/k3d-develop
|
||||
HOSTKEYDIR=$WORKDIR/local-git/ssh_host_keys
|
||||
|
||||
ssh-add -d $KEYDIR/identity.pub
|
||||
rm $HOSTKEYDIR/ssh_host_*
|
||||
rm $KEYDIR/*
|
||||
rmdir $KEYDIR
|
||||
|
||||
Reference in New Issue
Block a user