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
.sensu:login: | |
variables: | |
KUBERNETES_POD_ANNOTATIONS_1: "vault.hashicorp.com/agent-pre-populate-only=true" | |
KUBERNETES_POD_ANNOTATIONS_2: "vault.hashicorp.com/agent-inject=true" | |
KUBERNETES_POD_ANNOTATIONS_3: "vault.hashicorp.com/agent-inject-secret-creds=kv-v2/sensu-go/bob" | |
KUBERNETES_POD_ANNOTATIONS_4: | | |
vault.hashicorp.com/agent-inject-template-creds= | |
{{- with secret "kv-v2/sensu-go/bob" -}} | |
export SENSU_USERNAME="{{ .Data.data.username }}" | |
export SENSU_PASSWORD="{{ .Data.data.password }}" |
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 | |
certdir=/etc/ssl/private | |
keystore_path=/etc/letsencrypt/archive/example.com/keystore1.jks | |
letsdir=/etc/letsencrypt/archive/example.com | |
password=yourpasswordhere | |
for i in {6..1}; do cp $letsdir/keystore$i.jks $letsdir/keystore$((i+1)).jks; done | |
keytool -delete -alias root -storepass $password -keystore $keystore_path | |
keytool -delete -alias 1 -storepass $password -keystore $keystore_path |
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
Ill-advised or mistaken usage of a core class (java.* or javax.*) | |
when not building a core library. | |
This is often due to inadvertently including a core library file | |
in your application's project, when using an IDE (such as | |
Eclipse). If you are sure you're not intentionally defining a | |
core class, then this is the most likely explanation of what's | |
going on. | |
However, you might actually be trying to define a class in a core |