Skip to content

Commit

Permalink
Jenkins: Add user mika
Browse files Browse the repository at this point in the history
Signed-off-by: mnokka-unikie <mika.nokka@unikie.com>
  • Loading branch information
mnokka-unikie committed Mar 19, 2024
1 parent ef2a2a1 commit 9a7c31b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ssh-keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ jrautiola:
mkaapu:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJYpWmLovw4yIfjhWZ75PgtVfk9ZUcYHRLORcDltoufa mkaapu@nixzure
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE6WDXGfrD+WfY2+eP+/c4NrEOeCGpEOE2TcTlwxWXho marko.kaapu@unikie.com
mika:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKoroafXsrWkoLewJ7EYcHodqlYILV2T8xtRo6RL99vz mika@nixos
2 changes: 1 addition & 1 deletion terraform/jenkins-controller.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module "jenkins_controller_vm" {

virtual_machine_custom_data = join("\n", ["#cloud-config", yamlencode({
users = [
for user in toset(["bmg", "flokli", "hrosten", "jrautiola", "mkaapu"]) : {
for user in toset(["bmg", "flokli", "hrosten", "jrautiola", "mkaapu", "mika"]) : {
name = user
sudo = "ALL=(ALL) NOPASSWD:ALL"
ssh_authorized_keys = local.ssh_keys[user]
Expand Down

0 comments on commit 9a7c31b

Please sign in to comment.