brew install lima docker
limactl start default
lima sudo apt -y install docker.io
lima sudo usermod -aG docker $USER
limactl stop default
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/bash | |
set -e | |
NAMESPACE=$1 | |
SERVICE_ACCOUNT=$2 | |
SECRET_NAME=${SERVICE_ACCOUNT}-token | |
cat <<EOF | kubectl apply -n ${NAMESPACE} -f - > /dev/null | |
apiVersion: v1 | |
kind: Secret | |
metadata: |
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: v1 | |
kind: Secret | |
metadata: | |
name: tap-gui-db | |
namespace: tap-install | |
type: Opaque | |
stringData: | |
tap-gui-db.yml: | | |
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind":"Deployment","metadata":{"name":"server"}}) |
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
FROM azul/zulu-openjdk:21-jdk-crac-latest as builder | |
WORKDIR application | |
ADD ./.mvn .mvn/ | |
ADD ./mvnw mvnw | |
ADD ./pom.xml pom.xml | |
ADD ./src src/ | |
ADD ./.git .git/ | |
RUN ./mvnw -V clean package -DskipTests --no-transfer-progress && \ | |
cp target/*.jar application.jar && \ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
FROM ubuntu:jammy | |
USER root | |
RUN apt-get update -qq && \ | |
apt-get install -y -qq wget curl build-essential && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN wget -q https://github.com/tinygo-org/tinygo/releases/download/v0.28.1/tinygo_0.28.1_amd64.deb && \ | |
dpkg -i tinygo_0.28.1_amd64.deb && \ | |
rm tinygo_0.28.1_amd64.deb |
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: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: unit-test-pipeline-cache | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
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: tekton.dev/v1beta1 | |
kind: PipelineRun | |
metadata: | |
generateName: unit-test-run- | |
spec: | |
pipelineRef: | |
name: unit-test | |
workspaces: | |
- name: cache | |
persistentVolumeClaim: |
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/bash | |
set -ex | |
ROOT_DOMAIN=$1 | |
SSL_FILE=sslconf-${ROOT_DOMAIN}.conf | |
cd /certs | |
rm -f *.crt *.csr *.key *.srl ${SSL_FILE} | |
# Generate SSL Config with SANs |
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: | |
labels: | |
app: demo | |
name: demo | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
NewerOlder