Compare commits

..

No commits in common. "1e2ffc0717ac8225d32462ede2cb4157a5658632" and "4a383437f3a52be067ab222dd46d877977de7095" have entirely different histories.

5 changed files with 5 additions and 24 deletions

View File

@ -4,17 +4,6 @@ metadata:
name: twitter-profile-pic name: twitter-profile-pic
--- ---
apiVersion: v1 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 kind: Service
metadata: metadata:
name: twitter-profile-pic name: twitter-profile-pic
@ -34,7 +23,7 @@ metadata:
name: twitter-profile-pic name: twitter-profile-pic
namespace: twitter-profile-pic namespace: twitter-profile-pic
spec: spec:
replicas: 1 replicas: 2
selector: selector:
matchLabels: matchLabels:
app: twitter-profile-pic app: twitter-profile-pic
@ -55,14 +44,6 @@ spec:
memory: 250Mi memory: 250Mi
requests: requests:
memory: 250Mi memory: 250Mi
volumeMounts:
- name: dotenv
mountPath: /app/.env
subPath: .env
volumes:
- name: dotenv
secret:
secretName: twitter-profile-pic
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress

View File

@ -22,7 +22,7 @@ spec:
- apiVersion: tekton.dev/v1beta1 - apiVersion: tekton.dev/v1beta1
kind: PipelineRun kind: PipelineRun
metadata: metadata:
generateName: deploy-$(params.projectname)- generateName: deploy-project-
spec: spec:
pipelineRef: pipelineRef:
name: deploy-project name: deploy-project

View File

@ -21,7 +21,7 @@ spec:
- apiVersion: tekton.dev/v1beta1 - apiVersion: tekton.dev/v1beta1
kind: PipelineRun kind: PipelineRun
metadata: metadata:
generateName: pr-$(params.projectname)- generateName: pr-project-
spec: spec:
pipelineRef: pipelineRef:
name: pr-project name: pr-project

View File

@ -22,7 +22,7 @@ spec:
- apiVersion: tekton.dev/v1beta1 - apiVersion: tekton.dev/v1beta1
kind: PipelineRun kind: PipelineRun
metadata: metadata:
generateName: tag-$(params.projectname)- generateName: project-tag-
spec: spec:
pipelineRef: pipelineRef:
name: project-tag name: project-tag

View File

@ -19,7 +19,7 @@ resource "scaleway_k8s_pool_beta" "k8s-cluster-pool-1" {
node_type = "DEV1-M" node_type = "DEV1-M"
size = 1 size = 1
min_size = 1 min_size = 1
max_size = 3 max_size = 2
autoscaling = true autoscaling = true
autohealing = true autohealing = true