Skip to content

Commit

Permalink
add blobstore templates
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Sep 22, 2024
1 parent ed95108 commit 4a19377
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
17 changes: 17 additions & 0 deletions templates/blob/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: ServiceDeployment
metadata:
name: blobstores
namespace: infra
spec:
namespace: infra
git:
folder: services/blobstores
ref: main
repositoryRef:
kind: GitRepository
name: infra
namespace: infra
clusterRef:
name: mgmt
namespace: infra
25 changes: 25 additions & 0 deletions templates/blob/stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: InfrastructureStack
metadata:
name: blobstore-{{ context.name }}
spec:
name: blobstore-{{ context.name }}
detach: false
type: TERRAFORM
approval: true
manageState: true
actor: [email protected]
configuration:
version: '1.8'
repositoryRef:
name: infra
namespace: infra
clusterRef:
name: mgmt
namespace: infra
git:
ref: main
folder: terraform/modules/blob/{{ context.type }}
variables:
region: {{ context.region }}
bucket_name: {{ context.name }}

0 comments on commit 4a19377

Please sign in to comment.