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
terraform { | |
required_providers { | |
proxmox = { | |
source = "bpg/proxmox" | |
version = "0.76.0" | |
} | |
} | |
} | |
provider "proxmox" { |
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 | |
source ./config.sh | |
LOCAL_REGISTRY=${LOCAL_REGISTRY:-"localhost:${REGISTRY_PORT}"} | |
NERDCTL=/usr/local/bin/nerdctl | |
BASEDIR="." | |
if [ ! -d images ] && [ -d ../outputs ]; then | |
BASEDIR="../outputs" # for tests |
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 | |
IMAGES_DIR=outputs/images | |
if [ ! -d $IMAGES_DIR ]; then | |
mkdir -p $IMAGES_DIR | |
fi | |
get_image() { | |
image=$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
# Create secret in devops namespace | |
kubectl -n devops create secret generic mssql --from-literal=MSSQL_SA_PASSWORD="MyC0m9l&xP@ssw0rd" | |
# Deploy MS SQL Server | |
kubectl -n devops apply -f sql.yml |
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: v1 | |
kind: Template | |
metadata: | |
name: abp | |
annotations: | |
iconClass: icon-jboss | |
tags: nodejs, angular, dotnet, web app | |
template.openshift.io/provider-display-name: "Red Hat, Inc." | |
description: Abp.io initial angular application | |
labels: |
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
FROM node:15 | |
EXPOSE 3000 | |
ENV NODE_ENV=production | |
RUN git clone https://github.com/idemery/timeoff-management-application.git timeoff | |
WORKDIR /timeoff |
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: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
namespace: registry | |
name: pvc-registry | |
annotations: | |
volume.beta.kubernetes.io/storage-class: managed-nfs-storage | |
spec: | |
accessModes: |