some fixes
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
kubeconfigs/k3d-develop.yaml
|
||||||
|
|||||||
@@ -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"]
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user