Verifying my cryptographic key: openpgp4fpr:ee2664dd38f53ba6849e99b7757446333d3ec29a
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/sh | |
# | |
# Verify GCP service account default authentication status on VM | |
info() | |
{ | |
echo "$0: INFO: $*" >&2 | |
} | |
error() |
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
func initialiseLogging() logr.Logger { | |
// Setup structured logging to match Cloud Operations expectations, as much as possible | |
zerolog.TimestampFieldName = "time" | |
zerolog.TimeFieldFormat = time.RFC3339 | |
zerolog.LevelFieldName = "severity" | |
zerolog.LevelTraceValue = "DEFAULT" | |
zerolog.LevelDebugValue = "DEBUG" | |
zerolog.LevelInfoValue = "INFO" | |
zerolog.LevelWarnValue = "WARNING" | |
zerolog.LevelErrorValue = "ERROR" |
OlderNewer