Verified Commit bb05f9f6 authored by Daniel Sonck's avatar Daniel Sonck
Browse files

Use gitlab defined docker registry

parent dab3582f
Pipeline #401 waiting for manual action with stages
in 3 minutes and 39 seconds
.deploy_template: &deploy_tpl
image: registry.gitlab.com/gitlab-org/terraform-images/releases/0.13:v0.3.3
image: registry.gitlab.com/gitlab-org/terraform-images/releases/0.14:v0.8.0
tags:
- kubernetes
- cluster
......
# This file is maintained automatically by "terraform init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/kubernetes" {
version = "1.13.3"
constraints = "~> 1.13.2"
hashes = [
"h1:whoGs/NeucMF8U/urPaeXdQUb+ppaO1Ae4r5aJRhfrU=",
"zh:11fd58df9c297a4f3cab82ce8eb2f54f1be27f78fa23be2273ecd545ab254b91",
"zh:5b9e6f352c5666d791e2658a1d18bf0990f3ab70c99c916c393a2ee7f385364c",
"zh:5c94f1350471a5c8e8ee6675874608c506a0bfd3164bdd91b802842723547e2c",
"zh:5d9c5c44dba9addbb86491339012096e74778bb4ea93b70f12333bffba3d05e6",
"zh:6336f9cbb0b580f247cebb97fb7d4cc5e7fe9cc734d8d958d84c4ea3f1e24041",
"zh:bca3b9d4dcbe6f804f5611a83add371dc03b5aa92271f60ebdc2216bfedfab28",
"zh:cbcdc87a593090f490f7899f4f2d302e0c7023155591fcf65e6fadd69f5452f0",
"zh:ec2886a1adbfe3c861b2deb9446369111b9c6116701ae73ef372dc7df5bb3c9e",
"zh:edb5b4172610672bb4d7425511961fda2047b8a00675b99ae6887cd2ece4bda9",
"zh:ff7ea7743246181ea739643d7751c37041c4016eb6bbc39beb1e3b4e99629112",
]
}
provider "registry.terraform.io/hashicorp/vault" {
version = "2.12.2"
constraints = "~> 2.12.0"
hashes = [
"h1:H1AMA6sepArTdf0j/qficAUWAppS/FemZYF7kUuzUUM=",
"zh:0b1efb05ec928e6e274417ce6761ff882b186964ba34253a5ccc72983ea67531",
"zh:426b695de0bb93b1738a9888bff90db277c3d36564d2caaa3c5b1466c5f84926",
"zh:6ee3238e92955082ae46a3faaf4ad46192c46521d1fc90e3e9fa1f55b4d2cdbe",
"zh:82ef9158a8fce040084dabc707dd31c5f5e139cb537a62595ab6b9ec8cc2401d",
"zh:8ebd490dd1d1eecbfd76bcfd5b20e507efe7283d01af8939ac8ad805b9c19ae6",
"zh:a39525fde081d3e38f2e96a87eb526db23e886d497b356ded78ba58064d22bab",
"zh:a6634edf9e3dda76ca3566357a508c376aa1c5fd50409bcec64db62e415e8413",
"zh:c0dc65ffef25e14026e9474fbac1bcb3d86274d4e746fd8e7c1c1d291ad1594f",
"zh:eb0b5b0f39062600d7edbf01c6981402b46d77ec68750d63c0f97eabc0e5f2ff",
"zh:ff7e048c1c8d2a67d5fa71d4fbe026c80cad552a59a9ce598689c2a103aa0803",
]
}
......@@ -54,7 +54,7 @@ resource "kubernetes_deployment" "playlist" {
container {
image_pull_policy = "Always"
name = "main"
image = "registry.git.sonck.nl/touhou.fm/radio-go/playlist:${var.playlist_version}"
image = "${var.image}:${var.playlist_version}"
volume_mount {
mount_path = "/config"
name = "config"
......
......@@ -21,4 +21,6 @@ environment = "${ENV}"
gitlab_app = "${APP}"
namespace = "${NS}"
image = "$CI_REGISTRY_IMAGE"
EOC
\ No newline at end of file
......@@ -16,4 +16,8 @@ variable "gitlab_app" {
variable "player_state_address" {
type = string
}
variable "image" {
type = string
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment