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
| # HELP default_jenkins_version_info Jenkins Application Version | |
| # TYPE default_jenkins_version_info gauge | |
| # HELP default_jenkins_up Is Jenkins ready to receive requests | |
| # TYPE default_jenkins_up gauge | |
| # HELP default_jenkins_uptime Time since Jenkins machine was initialized | |
| # TYPE default_jenkins_uptime gauge | |
| # HELP default_jenkins_nodes_online Jenkins nodes online status | |
| # TYPE default_jenkins_nodes_online gauge | |
| # HELP default_jenkins_quietdown Is Jenkins in quiet mode | |
| # TYPE default_jenkins_quietdown gauge |
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
| name: "Example Workload Identity" | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| jobs: | |
| run: | |
| name: "Workload Identity Job" |
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
| output "pool_name" { | |
| description = "Pool name" | |
| value = google_iam_workload_identity_pool.github_actions.name | |
| } | |
| output "provider_name" { | |
| description = "Provider name" | |
| value = google_iam_workload_identity_pool_provider.github_actions.name | |
| } |
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
| resource "google_service_account_iam_member" "wif-sa" { | |
| service_account_id = "projects/my-gcp-project/serviceAccounts/example-sa@my-gcp-project.iam.gserviceaccount.com" | |
| role = "roles/iam.workloadIdentityUser" | |
| member = "principalSet://iam.googleapis.com/${google_iam_workload_identity_pool.github_actions.name}/*" | |
| } |
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
| resource "google_iam_workload_identity_pool_provider" "github_actions" { | |
| provider = google-beta | |
| project = "my-gcp-project" | |
| workload_identity_pool_id = google_iam_workload_identity_pool.github_actions.workload_identity_pool_id | |
| workload_identity_pool_provider_id = "github-actions" | |
| display_name = "GitHub Actions provider" | |
| description = "Workload Identity Pool Provider managed by Terraform" | |
| attribute_condition = "attribute.repository_owner==\"arslanbekov\"" | |
| attribute_mapping = { | |
| "google.subject" = "assertion.sub" |
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
| resource "google_iam_workload_identity_pool" "github_actions" { | |
| provider = google-beta | |
| project = "my-gcp-project" | |
| workload_identity_pool_id = "github-actions" | |
| display_name = "GitHub Actions pool" | |
| description = "Workload Identity Pool managed by Terraform" | |
| disabled = false | |
| } |
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 { | |
| backend "local" {} | |
| required_providers { | |
| openvpncloud = { | |
| source = "OpenVPN/openvpn-cloud" | |
| version = "0.0.7" | |
| } | |
| } | |
| } |
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 { | |
| backend "remote" { | |
| hostname = "app.terraform.io" | |
| organization = "EXAMPLE" | |
| workspaces { | |
| name = "google-workspace" | |
| } | |
| } | |
| } |
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
| node: Platform built on V8 to build network applications | |
| git: Distributed revision control system | |
| wget: Internet file retriever | |
| yarn: JavaScript package manager | |
| python3: Interpreted, interactive, object-oriented programming language | |
| python: Interpreted, interactive, object-oriented programming language | |
| mysql: Open source relational database management system | |
| coreutils: GNU File, Shell, and Text utilities | |
| openssl: SSL/TLS cryptography library | |
| postgresql: Object-relational database system |
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: scheduling.k8s.io/v1beta1 | |
| description: "This priority class should be used for critical-pods only." | |
| kind: PriorityClass | |
| metadata: | |
| name: custom-high-priority | |
| value: 100000000 |
NewerOlder