Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Last active May 23, 2016 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save thoraxe/33dac4e5bcd434bb1676fcb1104e9d03 to your computer and use it in GitHub Desktop.
Save thoraxe/33dac4e5bcd434bb1676fcb1104e9d03 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: DeploymentConfig
metadata:
name: server
namespace: gogs
selfLink: /oapi/v1/namespaces/gogs/deploymentconfigs/server
uid: ce5327b2-2101-11e6-8b04-12e14c56fa4d
resourceVersion: '426701'
creationTimestamp: '2016-05-23T16:17:12Z'
labels:
app: server
annotations:
openshift.io/generated-by: OpenShiftNewApp
spec:
strategy:
type: Rolling
rollingParams:
updatePeriodSeconds: 1
intervalSeconds: 1
timeoutSeconds: 600
maxUnavailable: 25%
maxSurge: 25%
resources: { }
triggers:
-
type: ConfigChange
-
type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- server
from:
kind: ImageStreamTag
name: 'server:latest'
lastTriggeredImage: '172.30.115.28:5000/gogs/server@sha256:09917096250647da7d24443e1a88b271f7ff58f38145991c9f9dfd66dbbda44b'
replicas: 1
test: false
selector:
app: server
deploymentconfig: server
template:
metadata:
creationTimestamp: null
labels:
app: server
deploymentconfig: server
annotations:
openshift.io/container.server.image.entrypoint: '["/bin/bash"]'
openshift.io/generated-by: OpenShiftNewApp
spec:
volumes:
-
name: config-volume
configMap:
name: gogsconfig
items:
- { key: appini, path: app.ini }
containers:
-
name: server
image: '172.30.115.28:5000/gogs/server@sha256:09917096250647da7d24443e1a88b271f7ff58f38145991c9f9dfd66dbbda44b'
ports:
-
containerPort: 3000
protocol: TCP
resources: { }
volumeMounts:
-
name: config-volume
mountPath: /etc/gogs/conf/
terminationMessagePath: /dev/termination-log
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: { }
status:
latestVersion: 5
details:
causes:
-
type: ConfigChange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment