Talked about "Kotler"
This file contains hidden or 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 | |
| set -euo pipefail | |
| usage () { | |
| echo "script syntax: -a AWS account nickname | |
| -r AWS region | |
| -h This help text"; | |
| } | |
| options=':a:r:h' |
This file contains hidden or 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
| resource "kubernetes_config_map" "fqdn" { | |
| metadata { | |
| name = "configname" | |
| namespace = "temp" | |
| } | |
| data = { | |
| for k, v in module.namespace.sub_domain_fqdn : "sub_domain_fqdn_${k}" => v | |
| } | |
| } |
This file contains hidden or 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
| 1. npm login --registry https://nexus.<url>/repository/<company>_npm/ --scope=@<company> | |
| 2. Log in with service account credentials | |
| 3. Open ~/.npmrc and copy the token |
This file contains hidden or 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
| module.exports = { | |
| platform: 'gitlab', | |
| endpoint: 'https://git.<instance>/api/v4/', | |
| baseBranches: ['master'], | |
| labels: ['renovate'], | |
| repositories: [ | |
| "path/to/project1", | |
| "path/to/project2", | |
| ], | |
| binarySource: 'install', |
This file contains hidden or 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
| stages: | |
| - config_validation | |
| - check_dependencies | |
| validation: | |
| stage: config_validation | |
| variables: | |
| LOG_LEVEL: debug | |
| image: | |
| name: renovate/renovate:latest |
This file contains hidden or 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
| DifferentKubernetesVersions | |
| count(count(kubernetes_build_info) by (gitVersion))>1 | |
| KubernetesNodeTooOld | |
| (time() - kube_node_created) > (60 * 60 * 24 * 30) | |
| KubernetesPodTooOld | |
| (time() - (kube_pod_created * on (pod, namespace) group_left kube_pod_owner{owner_kind!="DaemonSet"})) > (60 * 60 * 24 * 16) | |
| NoAvailableReplicas |
NewerOlder