{"id":16927361,"url":"https://github.com/dirien/berlin-pug-26-07","last_synced_at":"2026-04-28T12:38:52.103Z","repository":{"id":201173002,"uuid":"671016349","full_name":"dirien/berlin-pug-26-07","owner":"dirien","description":"Demo code for the Berlin PUG","archived":false,"fork":false,"pushed_at":"2023-10-19T09:24:07.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-31T19:55:45.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-26T10:53:57.000Z","updated_at":"2023-07-26T18:36:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f33fa16-1647-4a21-bf8c-2ad55cc17e8c","html_url":"https://github.com/dirien/berlin-pug-26-07","commit_stats":null,"previous_names":["dirien/berlin-pug-26-07"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dirien/berlin-pug-26-07","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Fberlin-pug-26-07","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Fberlin-pug-26-07/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Fberlin-pug-26-07/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Fberlin-pug-26-07/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirien","download_url":"https://codeload.github.com/dirien/berlin-pug-26-07/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirien%2Fberlin-pug-26-07/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:34:02.812Z","updated_at":"2026-04-28T12:38:52.079Z","avatar_url":"https://github.com/dirien.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PUG Demo\n\nThis repository contains the demo code for the Pulumi User Group meetups.\n\n## Infrastructure Deployment\n\nThe infrastructure deployment will be done using Pulumi AWS and EKS provider. As language we will use Go.\n\n```bash\ncd infrastructure-go\n\npulumi preview [--policy-pack ../policy-as-code/infra]\npulumi up [--policy-pack ../policy-as-code/infra]\n```\n\nAfter the infrastructure is deployed, we need to get the kubeconfig from the stack output and save it to a file.\n\n```bash\npulumi stack output kubeconfig --show-secrets \u003e kubeconfig.yaml\n```\n\nThis is not a necessary step as we're going to use Pulumi Stack References to get the kubeconfig from the infrastructure\nstack. See https://www.pulumi.com/learn/building-with-pulumi/stack-references/ for more details.\n\n## Application Deployment\n\nThis deployment will be done using Pulumi AI. Head over to https://pulumi.com/ai and enter following prompt:\n\n```text\nImagine you are a Kubernetes application developer and need to use a stack reference (dirien/pug-infrastructure-go/dev) to\nget Kubeconfig from a different stack.\nThen you create a Nginx (use the latest tag for the image) deployment with a custom config map, which contains \"Hello\nPulumi World\" as part of the nginx.conf location tag inside the server tag under http. This config map should then be mounted on /etc/nginx/. Finally, expose this deployment via a service\nof type nodeport. Create an ingress also. The ingress class should be \"alb\". Add the missing annotations for the\napplication load Balancer \"internet-facing\" and \"instance\".\n\nCreate only one Kubernetes provider and pass it as dependency to the resources.\n\nFinally Export the address of the ingress as output by interpolating the `http` protocol to it.\n```\n\nHere is a link to a working solution:\nhttps://www.pulumi.com/ai/?convid=89a5a223-34bd-4b16-acb2-513f3cb2257c\n\n```bash\ncd application-ts\npulumi preview [--policy-pack ../policy-as-code/app]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirien%2Fberlin-pug-26-07","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirien%2Fberlin-pug-26-07","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirien%2Fberlin-pug-26-07/lists"}