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
#!/usr/bin/env bash | |
# | |
# Script for rebuild indexes and invalidate cache in NPM proxy repositories. | |
# Configuration can load from hide file with same name as script | |
# Example: this-srcipt.sh load config from ./.this-srcipt | |
# | |
# Copyright 2020 WoozyMasta <woozy.masta@gmail.com> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
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 | |
# Logging level | |
: "${LOG_LEVEL:=INFO}" | |
# Associative arrays for logging | |
declare -A log_c log_l | |
# Color codes | |
log_c[0]='\033[0m' # Reset colors | |
log_c[error]='\033[1;31m' # Red |
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: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: view | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- configmaps | |
- endpoints |
NewerOlder