Skip to content

Instantly share code, notes, and snippets.

View dirien's full-sized avatar
🧿
YAML Engineer

Engin Diri dirien

🧿
YAML Engineer
View GitHub Profile
@dirien
dirien / welcome.md
Created October 20, 2024 22:49
Welcome to "Build Your Developer Platform in 90 Minutes" Workshop!

Dear Participants,

We are excited to welcome you to the "Build Your Developer Platform in 90 Minutes - Backstage + ArgoCD + K8s" workshop at DevOpsDays TLV 2024. This session will give you hands-on experience with building a developer platform using Backstage, ArgoCD, and Kubernetes.

Below are important details to help you prepare for the workshop.

Workshop Repository

We’ve created a dedicated repository for this workshop, containing all the resources you need to follow along. You can find everything needed to set up your environment and work on the exercises in one of the following ways:

@dirien
dirien / pulumi.md
Last active February 22, 2024 14:52
Austin Workshop

Civo Navigate Workshop: IaC with Pulumi

Prerequisites

If you run Pulumi for the first time, you will be asked to log in. Follow the instructions on the screen to login. You may need to create an account first, don't worry it is free.

@dirien
dirien / main.bicep
Last active June 13, 2023 19:34
AKS update
param location string = resourceGroup().location
param resourceGroupName string = resourceGroup().name
param kubernetesVersion string = '1.24.9'
param agentKubernetesVersion string = '1.24.9'
resource aks 'Microsoft.ContainerService/managedClusters@2023-03-01' = {
name: 'my-bicep-aks'
location: location
identity: {
@dirien
dirien / steps.md
Last active April 6, 2023 16:10
OVH Terraform to Pulumi
package main
import (
"github.com/oun/pulumi-flux/sdk/go/flux"
"github.com/pulumi/pulumi-github/sdk/v4/go/github"
v1 "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/yaml"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
@dirien
dirien / Dockerfile
Created August 21, 2022 17:40
Heredoc Golang Dockerfile
# syntax=docker/dockerfile:1.4.1
FROM golang:1.19 AS build
COPY <<EOF main.go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello Distroless-World")
@dirien
dirien / helm.md
Last active April 6, 2022 11:43
byocni
  helm upgrade -i cilium cilium/cilium --version 1.11.3 \
  --namespace kube-system \
  --set azure.enabled=true \
  --set azure.resourceGroup=$AZURE_NODE_RESOURCE_GROUP \
  --set azure.subscriptionID=$AZURE_SUBSCRIPTION_ID \
  --set azure.tenantID=$AZURE_TENANT_ID \
  --set azure.clientID=$AZURE_CLIENT_ID \
  --set azure.clientSecret=$AZURE_CLIENT_SECRET \
 --set datapathMode=vxlan \
@dirien
dirien / .gorleaser-brew.yaml
Last active March 7, 2022 19:31
homebrew-gofish
brews:
- tap:
owner: dirien
name: goreleaser-homebrew
commit_author:
name: dirien
email: [email protected]
folder: Formula
homepage: "https://github.com/dirien/quick-bites"
description: "Different type of projects, not big enough to warrant a separate repo."
@dirien
dirien / azure-pipelines.yml
Last active February 20, 2022 17:37
Azure DevOps and GoReleaser - III
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
pr:
branches:
include:
- main
@dirien
dirien / .goreleaser.yaml
Created February 20, 2022 17:19
Azure DevOps and GoReleaser - II
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goarch: