{
"CN": "My Custom CA",
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: operator.victoriametrics.com/v1beta1 | |
kind: VMServiceScrape | |
metadata: | |
name: apiserver | |
namespace: monitoring-system | |
spec: | |
endpoints: | |
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token | |
bearerTokenSecret: | |
key: "" |
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
sudo service pritunl stop | |
mongodump -d pritunl -o pritunl-bkp | |
tar -czvf pritunl-bkp.tar.gz pritunl-bkp |
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
2021/04/16 10:37:45 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. | |
Use TF_LOG=TRACE to see Terraform's internal logs. | |
---- | |
2021/04/16 10:37:45 [INFO] Terraform version: 0.14.9 | |
2021/04/16 10:37:45 [INFO] Go runtime version: go1.15.6 | |
2021/04/16 10:37:45 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.0/versions/0.14.9/terraform", "fmt"} | |
2021/04/16 10:37:45 [DEBUG] Attempting to open CLI config file: /Users/ingvarch/.terraformrc | |
2021/04/16 10:37:45 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021/04/16 10:37:45 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2021/04/16 10:37:45 [DEBUG] ignoring non-existing provider search directory /Users/ingvarch/.terraform.d/plugins |
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
node { | |
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) { | |
currentBuild.result = "SUCCESS" | |
try { | |
stage('clone project') { | |
checkout scm | |
} | |
def tag = sh(returnStdout: true, script: "git tag -l --contains HEAD").trim() |
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
# force HTTP to HTTPS - /etc/nginx/conf.d/nonssl.conf | |
server { | |
listen 80; | |
server_name jira.example.com; | |
access_log off; | |
return 301 https://$server_name$request_uri; | |
} | |
# /etc/nginx/conf.d/jira.conf | |
server { |