-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from dfds-data/bug/irsa-kiam
Migrate from KIAM to IRSA
- Loading branch information
Showing
4 changed files
with
46 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [4.0.0] - 2022-08-24 | ||
### Changed | ||
- BREAKING: Changed from KIAM auth to IRSA. | ||
See https://wiki.dfds.cloud/en/teams/devex/operations/guides/kiam-to-irsa-migration. | ||
KIAM is deprecated and will be removed in the future. We are now using IRSA and ServiceAccounts to assume roles in | ||
AWS. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
This is an opinionated collection of resouces to be used for the mlflow service. Assuming a database | ||
This is an opinionated collection of resources to be used for the mlflow service. Assuming a database | ||
is provisioned centrally in this case. | ||
|
||
# Variables | ||
|
||
- kubernetes_account_number: The account number to trust to assume your role (ie. account number of | ||
KIAM) | ||
- kubernetes_account_number: The account number of your kubernetes namespace. | ||
- kubernetes_namespace: The name of the kubernetes namespace. | ||
- service_account: OPTIONAL. The name of the service account used in the kubernetes deployment. |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
// Declare input variables | ||
variable "kubernetes_account_number" { | ||
type = string | ||
description = "The account number of the kubernetes cluster that has to assume a role in your capability" | ||
description = "The account number of the kubernetes capability. E.g. '123456789012'" | ||
} | ||
|
||
variable "kubernetes_namespace" { | ||
type = string | ||
description = "The namespace of the kubernetes capability. E.g. 'my-capability-jpoxj'." | ||
} | ||
|
||
variable "service_account" { | ||
type = string | ||
default = "mlflow" | ||
description = "The service account that assumes the mlflow-server-role Role. E.g. 'mlflow'." | ||
} |