Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- apiVersion: v1
- kind: List
- items:
- - apiVersion: apps.openshift.io/v1
- kind: DeploymentConfig
- metadata:
- annotations:
- fabric8.io/git-commit: 062734ea18dfc2d3d5ebcfc52fe32749472c502b
- fabric8.io/git-branch: master
- fabric8.io/git-url: [email protected]:r0haaaan/quarkus-sample-with-fabric8-maven-plugin-fragments.git
- labels:
- testProject: spring-boot-sample
- app: getting-started
- provider: fabric8
- version: 1.0-SNAPSHOT
- group: org.acme
- name: getting-started
- spec:
- replicas: 1
- revisionHistoryLimit: 2
- selector:
- app: getting-started
- provider: fabric8
- group: org.acme
- strategy:
- rollingParams:
- timeoutSeconds: 3600
- type: Rolling
- template:
- metadata:
- annotations:
- fabric8.io/git-commit: 062734ea18dfc2d3d5ebcfc52fe32749472c502b
- fabric8.io/git-branch: master
- fabric8.io/git-url: [email protected]:r0haaaan/quarkus-sample-with-fabric8-maven-plugin-fragments.git
- labels:
- testProject: spring-boot-sample
- app: getting-started
- provider: fabric8
- version: 1.0-SNAPSHOT
- group: org.acme
- spec:
- containers:
- - args:
- - /bin/sh
- - -c
- - 'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done'
- env:
- - name: KUBERNETES_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- image: ""
- imagePullPolicy: Always
- name: count
- ports:
- - containerPort: 8080
- name: http
- protocol: TCP
- securityContext:
- privileged: false
- volumeMounts:
- - mountPath: /var/run/secrets/fabric8.io/tls-pem
- name: tls-pem
- readOnly: true
- - mountPath: /var/run/secrets/fabric8.io/tls-jks
- name: tls-jks
- readOnly: true
- - env:
- - name: KUBERNETES_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- image: ""
- imagePullPolicy: IfNotPresent
- livenessProbe:
- failureThreshold: 3
- httpGet:
- path: /health
- port: 8080
- scheme: HTTP
- initialDelaySeconds: 180
- successThreshold: 1
- name: spring-boot
- ports:
- - containerPort: 8080
- name: http
- protocol: TCP
- - containerPort: 9779
- name: prometheus
- protocol: TCP
- - containerPort: 8778
- name: jolokia
- protocol: TCP
- readinessProbe:
- failureThreshold: 3
- httpGet:
- path: /health
- port: 8080
- scheme: HTTP
- initialDelaySeconds: 10
- successThreshold: 1
- securityContext:
- privileged: false
- volumeMounts:
- - mountPath: /var/run/secrets/fabric8.io/tls-pem
- name: tls-pem
- readOnly: true
- - mountPath: /var/run/secrets/fabric8.io/tls-jks
- name: tls-jks
- readOnly: true
- initContainers:
- - args:
- - -cert-file
- - server=/tls-pem/tls.crt
- - -key-file
- - server=/tls-pem/tls.key
- - -keystore
- - /tls-jks/keystore.jks
- - -keystore-password
- - changeit
- image: openshift/pemtokeystore:v0.2.0
- imagePullPolicy: IfNotPresent
- name: tls-jks-converter
- volumeMounts:
- - mountPath: /tls-pem
- name: tls-pem
- - mountPath: /tls-jks
- name: tls-jks
- volumes:
- - name: tls-pem
- secret:
- secretName: getting-started-tls
- - emptyDir:
- medium: Memory
- name: tls-jks
- triggers:
- - imageChangeParams:
- automatic: false
- containerNames:
- - count
- from:
- kind: ImageStreamTag
- name: busybox:latest
- type: ImageChange
Add Comment
Please, Sign In to add comment