This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Remove all GitHub code scanning analysis results for a given repository and organization. | |
# | |
# The script assumes that github-cli (https://github.com/cli/cli) is installed and that authentication has already been | |
# performed. You might still need to request additional permissions as follows: | |
# | |
# gh auth refresh -h github.com -s admin:repo_hook | |
# gh auth refresh -h github.com -s delete_repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: cleaner | |
namespace: tekton-pipelines | |
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snap install microk8s --classic | |
sudo ufw default allow routed | |
sudo iptables -P FORWARD ACCEPT | |
microk8s.enable dns dashboard metrics-server | |
# grafana/dashboard | |
# http://IP:8080/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy/ | |
# http://IP:8080/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/pod?namespace=default | |
microk8s.enable istio |