removing kube ci configs
This commit is contained in:
parent
8254045858
commit
48beb1c356
@ -1,23 +0,0 @@
|
|||||||
# Patterns to ignore when building packages.
|
|
||||||
# This supports shell glob matching, relative path matching, and
|
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
|
||||||
.DS_Store
|
|
||||||
# Common VCS dirs
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.bzr/
|
|
||||||
.bzrignore
|
|
||||||
.hg/
|
|
||||||
.hgignore
|
|
||||||
.svn/
|
|
||||||
# Common backup files
|
|
||||||
*.swp
|
|
||||||
*.bak
|
|
||||||
*.tmp
|
|
||||||
*.orig
|
|
||||||
*~
|
|
||||||
# Various IDEs
|
|
||||||
.project
|
|
||||||
.idea/
|
|
||||||
*.tmproj
|
|
||||||
.vscode/
|
|
@ -1,25 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: leCoffre-back
|
|
||||||
description: A Helm chart for Kubernetes
|
|
||||||
|
|
||||||
# A chart can be either an 'application' or a 'library' chart.
|
|
||||||
#
|
|
||||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
|
||||||
# to be deployed.
|
|
||||||
#
|
|
||||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
|
||||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
|
||||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
|
||||||
type: application
|
|
||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
|
||||||
# to the chart and its templates, including the app version.
|
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
|
||||||
version: 0.0.1
|
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
|
||||||
# It is recommended to use it with quotes.
|
|
||||||
appVersion: 0.5.7
|
|
||||||
|
|
@ -1,57 +0,0 @@
|
|||||||
-tpdockerPullSecret: docker-pull-secret
|
|
||||||
|
|
||||||
scwSecretKey: AgChoEnPitXp4Ny/rVMEcevaWKNVpyj2cJYAcq+yFqKwVwnLB+ffDvwqz9XBHu+6d4Nyyjkf37zUAMoaM21lEDWA7x3zfG2/D/j+rvX1qxzZgLD0mjBk7fGElVm332I6JA83oInes8AMMYEDPLElzHnpKRb9KtkIP4NzgOcCeW0ijft3N7Vroez6LEHsBPCA1I9XjKSkGEDvrO0MhWX3iJOlfz+SPMfJAV7rPawOs0ZmohTHrPW8qIvGDn8HCzKyU8zRBoMt+Ogpf5pH4U3JryEFuqD61KAQgablAM8edPIvsgNno9HAEuC2QtRLYA9aUhuKdaKuS58c9P2E80PHWXIlbpFCg6EugQTgNfnYp+3qDUNz8edeCfapYLvF4s9eCMGyMsGnpDR8EDNOyuGy7Y3l7okX8Xqu464gMp9E+hX7bHkcD6a4xfyIgJcWxsku0tm1TH1dpn4M1UXRuyZZif8P08nuE6MTUL67sAR9J1lpn4lVEL4kflk0pP2tZ5ncgPQFafJrRz05krMb0eU5tb2H4gs7ao/LL6idWo8MM9K1yr8lIuT5x2WW5CX+RjA+i50ex114V6vX3PNP5oVyt+DynTUB9QmXzVm3oLfDc3Cae1uqh7X0CFd+xiztJBtg0VtJaD/xUJcuWfY4cV2lERo9fRrykltzlJqiXHO4nowt8OtN0BcViVV8NJhPhYFzyb4ympxpOlTjm3GETuT2TYhUqdgS9nzleEAbOmOHZdIO2COunPE=
|
|
||||||
|
|
||||||
lecoffreBack:
|
|
||||||
serviceAccountName: lecoffre-back-sa
|
|
||||||
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run api:start'"
|
|
||||||
envSecrets: ppd-env
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
ingress:
|
|
||||||
host: api-tp.ppd.lecoffre.smart-chain.fr
|
|
||||||
tls:
|
|
||||||
hosts:
|
|
||||||
- api-tp.ppd.lecoffre.smart-chain.fr
|
|
||||||
secretName: api-tls
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/client_max_body_size: 200m
|
|
||||||
nginx.ingress.kubernetes.io/client-body-buffer-size: 2M
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 200m
|
|
||||||
env:
|
|
||||||
- key: .env
|
|
||||||
scwID: "id:430001f8-68ab-47b2-92e8-38024c35a80d"
|
|
||||||
|
|
||||||
lecoffreCron:
|
|
||||||
serviceAccountName: lecoffre-cron-sa
|
|
||||||
envSecrets: ppd-env
|
|
||||||
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run cron'"
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
# key is name of the environment variable, scwID is the secret ID in SCW with "id:" in front
|
|
||||||
env:
|
|
||||||
- key: .env
|
|
||||||
scwID: "id:430001f8-68ab-47b2-92e8-38024c35a80d"
|
|
||||||
|
|
@ -1,57 +0,0 @@
|
|||||||
dockerPullSecret: docker-pull-secret
|
|
||||||
|
|
||||||
scwSecretKey: AgChoEnPitXp4Ny/rVMEcevaWKNVpyj2cJYAcq+yFqKwVwnLB+ffDvwqz9XBHu+6d4Nyyjkf37zUAMoaM21lEDWA7x3zfG2/D/j+rvX1qxzZgLD0mjBk7fGElVm332I6JA83oInes8AMMYEDPLElzHnpKRb9KtkIP4NzgOcCeW0ijft3N7Vroez6LEHsBPCA1I9XjKSkGEDvrO0MhWX3iJOlfz+SPMfJAV7rPawOs0ZmohTHrPW8qIvGDn8HCzKyU8zRBoMt+Ogpf5pH4U3JryEFuqD61KAQgablAM8edPIvsgNno9HAEuC2QtRLYA9aUhuKdaKuS58c9P2E80PHWXIlbpFCg6EugQTgNfnYp+3qDUNz8edeCfapYLvF4s9eCMGyMsGnpDR8EDNOyuGy7Y3l7okX8Xqu464gMp9E+hX7bHkcD6a4xfyIgJcWxsku0tm1TH1dpn4M1UXRuyZZif8P08nuE6MTUL67sAR9J1lpn4lVEL4kflk0pP2tZ5ncgPQFafJrRz05krMb0eU5tb2H4gs7ao/LL6idWo8MM9K1yr8lIuT5x2WW5CX+RjA+i50ex114V6vX3PNP5oVyt+DynTUB9QmXzVm3oLfDc3Cae1uqh7X0CFd+xiztJBtg0VtJaD/xUJcuWfY4cV2lERo9fRrykltzlJqiXHO4nowt8OtN0BcViVV8NJhPhYFzyb4ympxpOlTjm3GETuT2TYhUqdgS9nzleEAbOmOHZdIO2COunPE=
|
|
||||||
|
|
||||||
lecoffreBack:
|
|
||||||
serviceAccountName: lecoffre-back-sa
|
|
||||||
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run api:start'"
|
|
||||||
envSecrets: prd-env
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
ingress:
|
|
||||||
host: api-tp.lecoffre.smart-chain.fr
|
|
||||||
tls:
|
|
||||||
hosts:
|
|
||||||
- api-tp.lecoffre.smart-chain.fr
|
|
||||||
secretName: api-tls
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/client_max_body_size: 200m
|
|
||||||
nginx.ingress.kubernetes.io/client-body-buffer-size: 2M
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 200m
|
|
||||||
env:
|
|
||||||
- key: .env
|
|
||||||
scwID: "id:8f66af26-2481-4ef2-b4f0-7f076f9ee18b"
|
|
||||||
|
|
||||||
lecoffreCron:
|
|
||||||
serviceAccountName: lecoffre-cron-sa
|
|
||||||
envSecrets: prd-env
|
|
||||||
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run cron'"
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
# key is name of the environment variable, scwID is the secret ID in SCW with "id:" in front
|
|
||||||
env:
|
|
||||||
- key: .env
|
|
||||||
scwID: "id:8f66af26-2481-4ef2-b4f0-7f076f9ee18b"
|
|
||||||
|
|
@ -1,57 +0,0 @@
|
|||||||
dockerPullSecret: docker-pull-secret
|
|
||||||
|
|
||||||
scwSecretKey: AgChoEnPitXp4Ny/rVMEcevaWKNVpyj2cJYAcq+yFqKwVwnLB+ffDvwqz9XBHu+6d4Nyyjkf37zUAMoaM21lEDWA7x3zfG2/D/j+rvX1qxzZgLD0mjBk7fGElVm332I6JA83oInes8AMMYEDPLElzHnpKRb9KtkIP4NzgOcCeW0ijft3N7Vroez6LEHsBPCA1I9XjKSkGEDvrO0MhWX3iJOlfz+SPMfJAV7rPawOs0ZmohTHrPW8qIvGDn8HCzKyU8zRBoMt+Ogpf5pH4U3JryEFuqD61KAQgablAM8edPIvsgNno9HAEuC2QtRLYA9aUhuKdaKuS58c9P2E80PHWXIlbpFCg6EugQTgNfnYp+3qDUNz8edeCfapYLvF4s9eCMGyMsGnpDR8EDNOyuGy7Y3l7okX8Xqu464gMp9E+hX7bHkcD6a4xfyIgJcWxsku0tm1TH1dpn4M1UXRuyZZif8P08nuE6MTUL67sAR9J1lpn4lVEL4kflk0pP2tZ5ncgPQFafJrRz05krMb0eU5tb2H4gs7ao/LL6idWo8MM9K1yr8lIuT5x2WW5CX+RjA+i50ex114V6vX3PNP5oVyt+DynTUB9QmXzVm3oLfDc3Cae1uqh7X0CFd+xiztJBtg0VtJaD/xUJcuWfY4cV2lERo9fRrykltzlJqiXHO4nowt8OtN0BcViVV8NJhPhYFzyb4ympxpOlTjm3GETuT2TYhUqdgS9nzleEAbOmOHZdIO2COunPE=
|
|
||||||
|
|
||||||
lecoffreBack:
|
|
||||||
serviceAccountName: lecoffre-back-sa
|
|
||||||
envSecrets: stg-env
|
|
||||||
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run api:start'"
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
ingress:
|
|
||||||
host: api-tp.stg.lecoffre.smart-chain.fr
|
|
||||||
tls:
|
|
||||||
hosts:
|
|
||||||
- api-tp.stg.lecoffre.smart-chain.fr
|
|
||||||
secretName: api-tls
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/client_max_body_size: 200m
|
|
||||||
nginx.ingress.kubernetes.io/client-body-buffer-size: 2M
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 200m
|
|
||||||
# key is name of the environment variable, scwID is the secret ID in SCW with "id:" in front
|
|
||||||
env:
|
|
||||||
- key: .env
|
|
||||||
scwID: "id:2be9510b-bb1f-4fbe-ab3e-3dc11fb49051"
|
|
||||||
|
|
||||||
lecoffreCron:
|
|
||||||
serviceAccountName: lecoffre-cron-sa
|
|
||||||
envSecrets: stg-env
|
|
||||||
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run cron'"
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
# key is name of the environment variable, scwID is the secret ID in SCW with "id:" in front
|
|
||||||
env:
|
|
||||||
- key: .env
|
|
||||||
scwID: "id:2be9510b-bb1f-4fbe-ab3e-3dc11fb49051"
|
|
@ -1,19 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: docker-pull-secret
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
name: secret-store
|
|
||||||
kind: SecretStore
|
|
||||||
target:
|
|
||||||
template:
|
|
||||||
type: kubernetes.io/dockerconfigjson
|
|
||||||
name: docker-pull-secret
|
|
||||||
creationPolicy: Owner
|
|
||||||
data:
|
|
||||||
- secretKey: .dockerconfigjson
|
|
||||||
remoteRef:
|
|
||||||
key: {{ .Values.dockerPullSecret }}
|
|
||||||
version: latest_enabled
|
|
@ -1,74 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: lecoffre-back
|
|
||||||
{{if .Values.lecoffreBack.ingress.annotations}}
|
|
||||||
annotations:
|
|
||||||
{{toYaml .Values.lecoffreBack.ingress.annotations | indent 4 }}
|
|
||||||
{{end}}
|
|
||||||
spec:
|
|
||||||
tls:
|
|
||||||
- hosts: {{ .Values.lecoffreBack.ingress.tls.hosts }}
|
|
||||||
secretName: {{ .Values.lecoffreBack.ingress.tls.secretName }}
|
|
||||||
rules:
|
|
||||||
- host: {{ .Values.lecoffreBack.ingress.host }}
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: lecoffre-back-svc
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: lecoffre-back-svc
|
|
||||||
labels:
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
name: http
|
|
||||||
targetPort: 3001
|
|
||||||
selector:
|
|
||||||
app: lecoffre-back
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: lecoffre-back
|
|
||||||
labels:
|
|
||||||
app: lecoffre-back
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: lecoffre-back
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
labels:
|
|
||||||
app: lecoffre-back
|
|
||||||
spec:
|
|
||||||
serviceAccountName: {{ .Values.lecoffreBack.serviceAccountName }}
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
containers:
|
|
||||||
- name: lecoffre-back
|
|
||||||
image: "{{ .Values.lecoffreBack.image.repository }}:{{ .Values.lecoffreBack.image.tag }}"
|
|
||||||
{{if .Values.lecoffreBack.resources}}
|
|
||||||
resources:
|
|
||||||
{{toYaml .Values.lecoffreBack.resources | indent 10}}
|
|
||||||
{{end}}
|
|
||||||
imagePullPolicy: {{ .Values.lecoffreBack.image.pullPolicy }}
|
|
||||||
command: [{{ .Values.lecoffreBack.command }}]
|
|
||||||
volumeMounts:
|
|
||||||
- name: secret-volume
|
|
||||||
mountPath: /etc/env
|
|
||||||
volumes:
|
|
||||||
- name: secret-volume
|
|
||||||
secret:
|
|
||||||
secretName: {{ .Values.lecoffreBack.envSecrets }}
|
|
@ -1,37 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: lecoffre-cron
|
|
||||||
labels:
|
|
||||||
app: lecoffre-cron
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: lecoffre-cron
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
labels:
|
|
||||||
app: lecoffre-cron
|
|
||||||
spec:
|
|
||||||
serviceAccountName: {{ .Values.lecoffreCron.serviceAccountName }}
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
containers:
|
|
||||||
- name: lecoffre-cron
|
|
||||||
image: "{{ .Values.lecoffreCron.image.repository }}:{{ .Values.lecoffreCron.image.tag }}"
|
|
||||||
{{if .Values.lecoffreCron.resources}}
|
|
||||||
resources:
|
|
||||||
{{toYaml .Values.lecoffreCron.resources | indent 10}}
|
|
||||||
{{end}}
|
|
||||||
imagePullPolicy: {{ .Values.lecoffreCron.image.pullPolicy }}
|
|
||||||
command: [{{ .Values.lecoffreCron.command }}]
|
|
||||||
volumeMounts:
|
|
||||||
- name: secret-volume
|
|
||||||
mountPath: /etc/env
|
|
||||||
volumes:
|
|
||||||
- name: secret-volume
|
|
||||||
secret:
|
|
||||||
secretName: {{ .Values.lecoffreCron.envSecrets }}
|
|
@ -1,12 +0,0 @@
|
|||||||
apiVersion: bitnami.com/v1alpha1
|
|
||||||
kind: SealedSecret
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: scw-secret-key
|
|
||||||
spec:
|
|
||||||
encryptedData:
|
|
||||||
SCW_SECRET_KEY: {{ .Values.scwSecretKey }}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: scw-secret-key
|
|
@ -1,15 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: SecretStore
|
|
||||||
metadata:
|
|
||||||
name: secret-store
|
|
||||||
spec:
|
|
||||||
provider:
|
|
||||||
scaleway:
|
|
||||||
region: fr-par
|
|
||||||
projectId: c0ed1e9e-d945-461f-920c-98c844ef1ad4
|
|
||||||
accessKey:
|
|
||||||
value: SCWNCSH22EMVGT3MNX09
|
|
||||||
secretKey:
|
|
||||||
secretRef:
|
|
||||||
name: scw-secret-key
|
|
||||||
key: SCW_SECRET_KEY
|
|
@ -1,16 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.lecoffreBack.envSecrets }}
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
kind: SecretStore
|
|
||||||
name: secret-store
|
|
||||||
data:
|
|
||||||
{{ range $v := .Values.lecoffreBack.env }}
|
|
||||||
- secretKey: {{ $v.key }}
|
|
||||||
remoteRef:
|
|
||||||
key: {{ $v.scwID}}
|
|
||||||
version: latest_enabled
|
|
||||||
{{ end }}
|
|
@ -1,30 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.lecoffreBack.serviceAccountName }}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.lecoffreBack.serviceAccountName }}-token
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/service-account.name: {{ .Values.lecoffreBack.serviceAccountName }}
|
|
||||||
type: kubernetes.io/service-account-token
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.lecoffreCron.serviceAccountName }}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.lecoffreCron.serviceAccountName }}-token
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/service-account.name: {{ .Values.lecoffreCron.serviceAccountName }}
|
|
||||||
type: kubernetes.io/service-account-token
|
|
@ -1,36 +0,0 @@
|
|||||||
dockerPullSecret: docker-pull-secret
|
|
||||||
|
|
||||||
scwSecretKey: ss
|
|
||||||
|
|
||||||
lecoffreBack:
|
|
||||||
serviceAccountName: lecoffre-back-sa
|
|
||||||
command: "npm run api:start"
|
|
||||||
envSecrets: env-env
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: docker-pull-secret
|
|
||||||
image:
|
|
||||||
pullPolicy: Always
|
|
||||||
repository: "rg.fr-par.scw.cloud/lecoffre/back"
|
|
||||||
tag:
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
limits:
|
|
||||||
memory: 2Gi
|
|
||||||
ingress:
|
|
||||||
host: api.ppd.lecoffre.smart-chain.fr
|
|
||||||
tls:
|
|
||||||
hosts:
|
|
||||||
- api.ppd.lecoffre.smart-chain.fr
|
|
||||||
secretName: api-tls
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
|
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
||||||
|
|
||||||
env:
|
|
||||||
- key: a
|
|
||||||
scwID: b
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user