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
#!/usr/bin/env bash | |
dockerfile=$(mktemp) | |
on_exit() { | |
echo "Removing $dockerfile"; | |
rm -f $dockerfile | |
} | |
on_sigint() { |
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 -e | |
if [ $# -ne 1 ]; then | |
echo "controle-plane-endpoint is required" 1>&2 | |
exit 1 | |
fi | |
CONTROLE_PLANE_ENDPOINT=$1 |
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
[0;33mdefault, argocd-application-controller, ServiceAccount (v1) has changed:[0m | |
# Source: helm-diff-dependencies/charts/argo-cd/templates/argocd-application-controller/serviceaccount.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
automountServiceAccountToken: true | |
metadata: | |
name: argocd-application-controller | |
labels: | |
helm.sh/chart: argo-cd-3.11.5 | |
[0;31m- app.kubernetes.io/name: argocd-override-application-controller[0m |
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
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os" | |
"strings" | |
"sync" | |
"time" |
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
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os" | |
"sync" | |
"time" | |
) |
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
metric { | |
provider = "cloudwatch" | |
max = 10 | |
query = <<EOS | |
[ | |
{ | |
"Id": "e1", | |
"Expression": "m1", | |
"Label": "ErrorCount" | |
}, |
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
--- | |
# Source: datadog/charts/kube-state-metrics/templates/serviceaccount.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
app.kubernetes.io/name: kube-state-metrics | |
helm.sh/chart: kube-state-metrics-2.8.4 | |
app.kubernetes.io/managed-by: Helm | |
app.kubernetes.io/instance: datadog |
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
name: Pull Request ChatOps Template | |
on: | |
# https://help.github.com/en/articles/events-that-trigger-workflows#issue-comment-event-issue_comment | |
issue_comment: | |
types: [created] | |
jobs: | |
example: | |
name: Example ChatOps command | |
runs-on: ubuntu-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
apiVersion: argoproj.io/v1alpha1 | |
kind: Application | |
metadata: | |
name: apps | |
namespace: kube-system | |
spec: | |
project: default | |
source: | |
repoURL: https://github.com/mumoshu/configrepo.git | |
targetRevision: HEAD |
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
kind: ServiceAccount | |
apiVersion: v1 | |
metadata: | |
name: datadog-cluster-agent | |
namespace: default | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: datadog-cluster-agent |
NewerOlder