https://containers.dev an open spec that extends container definition to also include dev environment configuration including:
- packages
- lifecycle automation
- processes
- IDE configurations
- remote connection
- port forwarding
| -- Don't forget to first sign-in through sso using aws sso login | |
| CREATE OR REPLACE SECRET secret( | |
| TYPE s3, | |
| PROVIDER credential_chain | |
| ); | |
| -- first let's create a Ducklake catalog | |
| CREATE SECRET( | |
| TYPE postgres, | |
| HOST '', |
| import mido, os, random | |
| import simpleaudio as sa | |
| INPUT = "./Hang Drum Samples" | |
| wavs = {} | |
| for x in os.listdir(INPUT): | |
| if x.endswith(".wav") and len(x) == 7: | |
| wavs.setdefault(x[0], []).append(x) | |
| note_map = { |
https://containers.dev an open spec that extends container definition to also include dev environment configuration including:
| # Source: https://gist.github.com/6fb3e7da327df9203d9d4c184fcb5831 | |
| ############################################################################## | |
| # Combining Argo CD (GitOps), Crossplane (Control Plane), And Kubevela (OAM) # | |
| # https://youtu.be/eEcgn_gU3SM # | |
| ############################################################################## | |
| # Referenced videos: | |
| # - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4 | |
| # - Cloud-Native Apps With Open Application Model (OAM) And KubeVela: https://youtu.be/2CBu6sOTtwk |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).| # Source: https://gist.github.com/a156975ae372bf15284e15c489aab4aa | |
| ########################################################################## | |
| # Crossplane # | |
| # Using Kubernetes API and GitOps to manage Infrastructure as Code (IaC) # | |
| # https://youtu.be/n8KjVmuHm7A # | |
| ########################################################################## | |
| # Referenced videos: | |
| # - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4 |
| # Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3 | |
| ########################################################### | |
| # Automation of Everything # | |
| # How To Combine Argo Events, Workflows, CD, and Rollouts # | |
| # https://youtu.be/XNXJtxkUKeY # | |
| ########################################################### | |
| # Requirements: | |
| # - k8s v1.19+ cluster with nginx Ingress |
| # grant permissions to just one specific repo | |
| resource github_team_repository reconciliations_analysts { | |
| repository = github_repository.reconciliations.name | |
| team_id = github_team.analysts.id | |
| permission = "push" | |
| } | |
| # grant permissions to all repos, if they've got the airflow tag | |
| resource github_team_repository airflow_engineers { | |
| for_each = toset([ for repo in local.airflow_repos: repo["name"] ]) |
This was initially posted in an kubernetes-sigs/kustomize issue.
We are using Kustomize's vars feature. Initially we didn't understand how to use it for our purpose, but it is a 100% fit. One example is our Ingress resource, which looks like this:
# file: base/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: services| # MIT No Attribution | |
| # | |
| # Copyright 2022 Ben Kehoe | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
| # software and associated documentation files (the "Software"), to deal in the Software | |
| # without restriction, including without limitation the rights to use, copy, modify, | |
| # merge, publish, distribute, sublicense, and/or sell copies of the Software, and to | |
| # permit persons to whom the Software is furnished to do so. | |
| # |