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: apps/v1 # for versions before 1.9.0 use apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
namespace: default | |
spec: | |
selector: | |
matchLabels: | |
app: nginx |
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: petclinic | |
namespace: default | |
spec: | |
selector: | |
matchLabels: | |
app: petclinic-app |
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
# fluent-bit k14s objects managed by kapp-controller | |
--- | |
apiVersion: kappctrl.k14s.io/v1alpha1 | |
kind: App | |
metadata: | |
name: fluent-bit | |
namespace: tanzu-system-logging | |
annotations: | |
tmc.cloud.vmware.com/managed: "false" | |
spec: |
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
-- mod-version:1 -- lite-xl 1.16 | |
local syntax = require "core.syntax" | |
syntax.add { | |
files = { "%.bas$" }, | |
comment = "", | |
patterns = { | |
{ pattern = "//.-\n", type = "comment" }, | |
{ pattern = { "/%*", "%*/" }, type = "comment" }, | |
{ pattern = { '"', '"', '\\' }, type = "string" }, |
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
eval $(terraform output -json \ | |
| jq 'map_values(.value)' \ | |
| jq -r 'keys[] as $k | "\($k)='"'"'\(.[$k])'"'"'"' \ | |
| awk -F"=" '{l = $0; sub($1, "", l); print "export "toupper($1) l}' | |
) |
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
# Environment override datasource for Tiller (github.com/markround/tiller). | |
# This extracts all environment variables, and makes them available to templates | |
# by converting to lowercase. Note that it doesn't prefix them with env_ so they | |
# will potentially clash/override any other values you have defined in other | |
# datasources! | |
# Install into /usr/local/lib/tiller/data/override.rb | |
# And add to your list of data_sources in /etc/tiller/common.yaml | |
class EnvironmentOverrideDataSource < Tiller::DataSource | |
def global_values | |
values = Hash.new |