Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions prod/namespaces/kfserving/iam-policy-members.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# An example of an IAMPolicyMember
# Add entries to this file to gain access to the project.
# Policies should aim to adhere to the following guidelines
# 1. Grant minimal privileges necessary
# 2. Set an expiration time for your membership
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata:
name: kfserving-owners
spec:
# replace ${PROJECT_ID?} with your project name
member: "[email protected]"
# You should aim to scope down the permissions you needed
# right now owner is needed to deploy kubeflow
# Note: You can't grant owner permissions this way
# because external owners must be invited. We have a couple options
# for deploying Kubeflow.
#
# 1. We can grant owners to groups
# 2. We can invite owners through cloud console
role: roles/owner
# TODO(jlewi): This doesn't appear to work.
# Should be available in next version of Anthos 1.3.
#condition:
# title: expires_after_2020_10_01
# description: Expires at midnight of 2020-10-01
# expression: request.time < timestamp("2020-01-01T00:00:00Z")
resourceRef:
apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1
kind: Project
# TODO(jlewi): This is the newer syntax which work in the next
# release of ACM
external: "kfserving"
4 changes: 4 additions & 0 deletions prod/namespaces/kfserving/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kfserving
18 changes: 18 additions & 0 deletions prod/namespaces/kfserving/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This project is for gsoc.
# Gsoc ends 2020/09/08.
# This project can and will be deleted after that date.
apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1
kind: Project
metadata:
annotations:
# This should be the kf-community-folder
cnrm.cloud.google.com/folder-id: "303324597781"
# TODO(jlewi): I think this is required
cnrm.cloud.google.com/auto-create-network: "true"
labels:
label-one: "value-one"
name: kfserving
spec:
name: kfserving
billingAccountRef:
external: "01AF53-DC4A1B-4B1AA1"