Compare commits
3 Commits
4a383437f3
...
1e2ffc0717
Author | SHA1 | Date | |
---|---|---|---|
1e2ffc0717 | |||
2143baff65 | |||
15afc432d2 |
@ -4,6 +4,17 @@ metadata:
|
||||
name: twitter-profile-pic
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: twitter-profile-pic
|
||||
namespace: twitter-profile-pic
|
||||
annotations:
|
||||
kube-1password: d2rt56v47q2wij47qgj27umrky
|
||||
kube-1password/vault: Kubernetes
|
||||
kube-1password/secret-text-key: .env
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: twitter-profile-pic
|
||||
@ -23,7 +34,7 @@ metadata:
|
||||
name: twitter-profile-pic
|
||||
namespace: twitter-profile-pic
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: twitter-profile-pic
|
||||
@ -44,6 +55,14 @@ spec:
|
||||
memory: 250Mi
|
||||
requests:
|
||||
memory: 250Mi
|
||||
volumeMounts:
|
||||
- name: dotenv
|
||||
mountPath: /app/.env
|
||||
subPath: .env
|
||||
volumes:
|
||||
- name: dotenv
|
||||
secret:
|
||||
secretName: twitter-profile-pic
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
|
@ -22,7 +22,7 @@ spec:
|
||||
- apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
generateName: deploy-project-
|
||||
generateName: deploy-$(params.projectname)-
|
||||
spec:
|
||||
pipelineRef:
|
||||
name: deploy-project
|
||||
|
@ -21,7 +21,7 @@ spec:
|
||||
- apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
generateName: pr-project-
|
||||
generateName: pr-$(params.projectname)-
|
||||
spec:
|
||||
pipelineRef:
|
||||
name: pr-project
|
||||
|
@ -22,7 +22,7 @@ spec:
|
||||
- apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
generateName: project-tag-
|
||||
generateName: tag-$(params.projectname)-
|
||||
spec:
|
||||
pipelineRef:
|
||||
name: project-tag
|
||||
|
@ -19,7 +19,7 @@ resource "scaleway_k8s_pool_beta" "k8s-cluster-pool-1" {
|
||||
node_type = "DEV1-M"
|
||||
size = 1
|
||||
min_size = 1
|
||||
max_size = 2
|
||||
max_size = 3
|
||||
autoscaling = true
|
||||
autohealing = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user