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
id: '1656791019411' | |
alias: deConz - IKEA wireless on/off switch | |
description: '' | |
use_blueprint: | |
path: homeassistant/ikea_on_off_switch.yaml | |
input: | |
remote: d91401d57144d4abbdd27f2e7deae1d5 | |
button_on_short: | |
- type: turn_on | |
device_id: 7e65565b9462ee5442700ebac6d3450e |
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
#@data/values | |
--- | |
user: 'johndoe' |
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
#@data/values | |
--- | |
user: 'johndoe' |
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
#@ load("@ytt:data", "data") | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: foo-service | |
port: #@ data.values.port | |
data: | |
foo.yaml: | | |
port: #@ data.values.port |
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
ytt --ignore-unknown-comments=true \ | |
-f install.yaml \ | |
-f overlay.yaml \ | |
-f data.yaml \ | |
--data-value argocd_hostname=argocd.example.com \ | |
--data-value argocd_admin_pwd=$(bcrypt-hash -c 10 'TheCatSaysMeow') \ | |
--data-value argocd_admin_pwd_mtime=$(date +%FT%T%Z) \ | |
--data-value certificate_arn=arn:aws:acm:us-east-1:12345:certificate/35bfd6f4-e234–41d6-bb21-eb9ec8adfe91 |
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
# This defines possible data values | |
#@data/values | |
--- | |
argocd_hostname: '' | |
argocd_admin_pwd: '' | |
argocd_admin_pwd_mtime: '' | |
certificate_arn: '' |
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
#@ load("@ytt:overlay", "overlay") | |
#@ load("@ytt:data", "data") | |
#@ load("@ytt:json", "json") | |
#@ load("@ytt:base64", "base64") | |
#! Patch Argo CD Deployment (Deployment/argocd-repo-server) and add ytt | |
#@overlay/match by=overlay.subset({"kind":"Deployment","metadata":{"name":"argocd-repo-server"}}) | |
--- | |
spec: | |
template: |
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
#@ load("@ytt:base64", "base64") | |
#@ load("@ytt:data", "data") | |
#@ load("@ytt:yaml", "yaml") | |
#@ def foo_config(): | |
foo: | |
bar: | |
foo: bar | |
bar: foo | |
#@ end |
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
# https://raw.githubusercontent.com/jetstack/cert-manager/v0.13.0/deploy/manifests/00-crds.yaml with sync-waves attached to all annotations | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: certificaterequests.cert-manager.io | |
annotations: | |
argocd.argoproj.io/sync-wave: "-1" | |
spec: | |
additionalPrinterColumns: | |
- JSONPath: .status.conditions[?(@.type=="Ready")].status |
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 | |
mkdir -p /etc/kubernetes/manifests/ | |
cp /etc/kubernetes/manifests/kube-apiserver.yaml /tmp/kubeadm-patches/ | |
cat >/tmp/kubeadm-patches/kustomization.yaml <<EOF | |
resources: | |
- kube-apiserver.yaml | |
patchesJson6902: | |
- target: | |
version: v1 |
NewerOlder