Steps to success!
Step 1
Install tf2pulumi
(e.g: brew install pulumi/tap/tf2pulumi
or download the binary at https://github.com/pulumi/tf2pulumi)
Step 2
Install the Pulumi CLI if not present on your client.
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: { |
Install tf2pulumi
(e.g: brew install pulumi/tap/tf2pulumi
or download the binary at https://github.com/pulumi/tf2pulumi)
Install the Pulumi CLI if not present on your client.
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" |
# 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") |
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 \
brews: | |
- tap: | |
owner: dirien | |
name: goreleaser-homebrew | |
commit_author: | |
name: dirien | |
email: engin.diri@mail.schwarz | |
folder: Formula | |
homepage: "https://github.com/dirien/quick-bites" | |
description: "Different type of projects, not big enough to warrant a separate repo." |
# 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 |
# 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: |
The example code, is a very simple go app. It just prints some variables.
package main
import (
"fmt"
)
var (
curl -s https://api.github.com/repos/<user>/<repo>/releases/latest | grep -E 'browser_download_url' | grep linux_amd64 | grep -Eo 'https://[^\"]*' | xargs wget -O - | tar -xz