Skip to content

Commit

Permalink
remove jupyterflow commented out resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Apr 12, 2022
1 parent f2d698d commit ab5ce47
Showing 1 changed file with 0 additions and 62 deletions.
Original file line number Diff line number Diff line change
@@ -1,65 +1,3 @@
# resource "kubernetes_service_account" "main" {
# metadata {
# name = "jupyterflow-service-account"
# namespace = var.namespace
# }
# }


# resource "kubernetes_cluster_role" "main" {
# metadata {
# name = "argo-workflows-role"
# }

# rule {
# api_groups = [""]
# resources = ["pods"]
# verbs = ["get", "list", "watch", "patch"]
# # pod get/watch is used to identify the container IDs of the current pod
# # pod patch is used to annotate the step's outputs back to controller (e.g. artifact location)
# }

# rule {
# api_groups = [""]
# resources = ["pods/log"]
# verbs = ["get", "watch"]
# # logs get/watch are used to get the pods logs for script outputs, and for log archival
# }

# rule {
# api_groups = ["argoproj.io"]
# resources = ["workflows"]
# verbs = ["get", "list", "watch", "patch", "create"]
# }

# }


# resource "kubernetes_role_binding" "main" {
# metadata {
# name = "jupyterflow-role-binding"
# namespace = var.namespace
# }

# role_ref {
# api_group = "rbac.authorization.k8s.io"
# kind = "Role"
# name = kubernetes_cluster_role.main.metadata.0.name
# }
# subject {
# kind = "ServiceAccount"
# name = kubernetes_service_account.main.metadata.0.name
# namespace = var.namespace
# }
# }
# resource "kubernetes_namespace" "main" {
# metadata {
# # labels = merge({}, var.labels)

# name = var.argo-workflows-namespace
# }
# }

locals {
name = "argo-workflows"
argo-workflows-prefix = "argo"
Expand Down

0 comments on commit ab5ce47

Please sign in to comment.