-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: Add additional port to handle Minio object storage (#988)
* FEAT: Add additional port to handle Minio object storage * Add missing vars * Update minio entrypoint and disable tls * Exclude traitlets config from pre-commit * Update conda-store minio service eternal endpoint Co-authored-by: viniciusdc <vinivdc2009@hotmail.com>
- Loading branch information
1 parent
1aaf695
commit 7f36b6e
Showing
7 changed files
with
57 additions
and
2 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
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
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
29 changes: 29 additions & 0 deletions
29
...ookiecutter.repo_directory }}/infrastructure/modules/kubernetes/services/minio/ingress.tf
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,29 @@ | ||
resource "kubernetes_manifest" "minio-api" { | ||
provider = kubernetes-alpha | ||
|
||
manifest = { | ||
apiVersion = "traefik.containo.us/v1alpha1" | ||
kind = "IngressRoute" | ||
metadata = { | ||
name = "minio-api" | ||
namespace = var.namespace | ||
} | ||
spec = { | ||
entryPoints = ["minio"] | ||
routes = [ | ||
{ | ||
kind = "Rule" | ||
match = "Host(`${var.external-url}`)" | ||
services = [ | ||
{ | ||
name = helm_release.minio.name | ||
port = 9000 | ||
namespace = var.namespace | ||
} | ||
] | ||
} | ||
] | ||
# tls = var.tls | ||
} | ||
} | ||
} |
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