Auto-release aimvector/python:1.0.2

This commit is contained in:
marcel-dempers 2020-06-30 03:17:23 +00:00
parent 978f3dea56
commit 198273d14a

View File

@ -1,57 +1,57 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: example-deploy name: example-deploy
labels: labels:
app: example-app app: example-app
test: test test: test
annotations: annotations:
fluxcd.io/tag.example-app: semver:~1.0 fluxcd.io/tag.example-app: semver:~1.0
fluxcd.io/automated: 'true' fluxcd.io/automated: 'true'
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: example-app app: example-app
replicas: 2 replicas: 2
strategy: strategy:
type: RollingUpdate type: RollingUpdate
rollingUpdate: rollingUpdate:
maxSurge: 1 maxSurge: 1
maxUnavailable: 0 maxUnavailable: 0
template: template:
metadata: metadata:
labels: labels:
app: example-app app: example-app
spec: spec:
containers: containers:
- name: example-app - name: example-app
image: aimvector/python:1.0.0 image: aimvector/python:1.0.2
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 5000 - containerPort: 5000
# livenessProbe: # livenessProbe:
# httpGet: # httpGet:
# path: /status # path: /status
# port: 5000 # port: 5000
# initialDelaySeconds: 3 # initialDelaySeconds: 3
# periodSeconds: 3 # periodSeconds: 3
resources: resources:
requests: requests:
memory: "64Mi" memory: "64Mi"
cpu: "50m" cpu: "50m"
limits: limits:
memory: "256Mi" memory: "256Mi"
cpu: "500m" cpu: "500m"
volumeMounts: volumeMounts:
- name: secret-volume - name: secret-volume
mountPath: /secrets/ mountPath: /secrets/
- name: config-volume - name: config-volume
mountPath: /configs/ mountPath: /configs/
volumes: volumes:
- name: secret-volume - name: secret-volume
secret: secret:
secretName: mysecret secretName: mysecret
- name: config-volume - name: config-volume
configMap: configMap:
name: example-config #name of our configmap object name: example-config #name of our configmap object