We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got the following error message when deploying drone-server-deployment.yaml
$ kubectl logs po/drone-server-741854971-9tvk9 time="2018-02-06T23:56:50Z" level=fatal msg="DRONE_HOST must be :// format"
Here are my confimap.yml and server-deploy.yml
apiVersion: v1 kind: ConfigMap metadata: name: drone-config namespace: drone data:
server.host: labs-openshift-04.eng.fireeye.com server.debug: "true" server.open: "true" server.database.driver: sqlite3 server.database.datasource: drone.sqlite server.admin: ben.le
server.remote.github: "true" server.remote.github.client: 630e6cc1d752d6afda68 server.remote.github.secret: 2efcc905aab852c9fe41ad8395f8dfe7a1d142a6
server.remote.gitea: "false" server.remote.gitea.url: "https://try.gitea.io" server.remote.gitea.skip.verify: "true"
agent.debug: "true" agent.debug.pretty: "true" agent.max.procs: "1" agent.healthcheck: "true"
apiVersion: extensions/v1beta1 kind: Deployment metadata: name: drone-server namespace: drone spec: replicas: 1 template: metadata: labels: app: drone-server spec: containers: - image: drone/drone:0.8 imagePullPolicy: Always name: drone-server ports: - containerPort: 8000 protocol: TCP - containerPort: 9000 protocol: TCP volumeMounts: # Persist our configs in an SQLite DB in here - name: drone-server-sqlite-db mountPath: /var/lib/drone # Enables Docker in Docker - name: docker-socket mountPath: /var/run/docker.sock resources: requests: cpu: 40m memory: 32Mi env: - name: DRONE_HOST valueFrom: configMapKeyRef: name: drone-config key: server.host - name: DRONE_OPEN valueFrom: configMapKeyRef: name: drone-config key: server.open - name: DRONE_DATABASE_DRIVER valueFrom: configMapKeyRef: name: drone-config key: server.database.driver - name: DRONE_DATABASE_DATASOURCE valueFrom: configMapKeyRef: name: drone-config key: server.database.datasource - name: DRONE_SECRET valueFrom: secretKeyRef: name: drone-secrets key: server.secret - name: DRONE_ADMIN valueFrom: configMapKeyRef: name: drone-config key: server.admin - name: DRONE_GITHUB valueFrom: configMapKeyRef: name: drone-config key: server.remote.github - name: DRONE_GITHUB_CLIENT valueFrom: configMapKeyRef: name: drone-config key: server.remote.github.client - name: DRONE_GITHUB_SECRET valueFrom: configMapKeyRef: name: drone-config key: server.remote.github.secret - name: DRONE_GITEA valueFrom: configMapKeyRef: name: drone-config key: server.remote.gitea - name: DRONE_GITEA_URL valueFrom: configMapKeyRef: name: drone-config key: server.remote.gitea.url - name: DRONE_GITEA_SKIP_VERIFY valueFrom: configMapKeyRef: name: drone-config key: server.remote.gitea.skip.verify - name: DRONE_DEBUG valueFrom: configMapKeyRef: name: drone-config key: server.debug
volumes: - name: drone-server-sqlite-db persistentVolumeClaim: claimName: drone - name: docker-socket path: /var/run/docker.sock
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
I found a mistake, just need to put "" around the hostname in the configmap. Just wondering how to config default public Github to private Github.
Sorry, something went wrong.
No branches or pull requests
I got the following error message when deploying drone-server-deployment.yaml
$ kubectl logs po/drone-server-741854971-9tvk9
time="2018-02-06T23:56:50Z" level=fatal msg="DRONE_HOST must be :// format"
Here are my confimap.yml and server-deploy.yml
apiVersion: v1
kind: ConfigMap
metadata:
name: drone-config
namespace: drone
data:
server.host: labs-openshift-04.eng.fireeye.com
server.debug: "true"
server.open: "true"
server.database.driver: sqlite3
server.database.datasource: drone.sqlite
server.admin: ben.le
server.remote.github: "true"
server.remote.github.client: 630e6cc1d752d6afda68
server.remote.github.secret: 2efcc905aab852c9fe41ad8395f8dfe7a1d142a6
server.remote.gitea: "false"
server.remote.gitea.url: "https://try.gitea.io"
server.remote.gitea.skip.verify: "true"
agent.debug: "true"
agent.debug.pretty: "true"
agent.max.procs: "1"
agent.healthcheck: "true"
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: drone-server
namespace: drone
spec:
replicas: 1
template:
metadata:
labels:
app: drone-server
spec:
containers:
- image: drone/drone:0.8
imagePullPolicy: Always
name: drone-server
ports:
- containerPort: 8000
protocol: TCP
- containerPort: 9000
protocol: TCP
volumeMounts:
# Persist our configs in an SQLite DB in here
- name: drone-server-sqlite-db
mountPath: /var/lib/drone
# Enables Docker in Docker
- name: docker-socket
mountPath: /var/run/docker.sock
resources:
requests:
cpu: 40m
memory: 32Mi
env:
- name: DRONE_HOST
valueFrom:
configMapKeyRef:
name: drone-config
key: server.host
- name: DRONE_OPEN
valueFrom:
configMapKeyRef:
name: drone-config
key: server.open
- name: DRONE_DATABASE_DRIVER
valueFrom:
configMapKeyRef:
name: drone-config
key: server.database.driver
- name: DRONE_DATABASE_DATASOURCE
valueFrom:
configMapKeyRef:
name: drone-config
key: server.database.datasource
- name: DRONE_SECRET
valueFrom:
secretKeyRef:
name: drone-secrets
key: server.secret
- name: DRONE_ADMIN
valueFrom:
configMapKeyRef:
name: drone-config
key: server.admin
- name: DRONE_GITHUB
valueFrom:
configMapKeyRef:
name: drone-config
key: server.remote.github
- name: DRONE_GITHUB_CLIENT
valueFrom:
configMapKeyRef:
name: drone-config
key: server.remote.github.client
- name: DRONE_GITHUB_SECRET
valueFrom:
configMapKeyRef:
name: drone-config
key: server.remote.github.secret
- name: DRONE_GITEA
valueFrom:
configMapKeyRef:
name: drone-config
key: server.remote.gitea
- name: DRONE_GITEA_URL
valueFrom:
configMapKeyRef:
name: drone-config
key: server.remote.gitea.url
- name: DRONE_GITEA_SKIP_VERIFY
valueFrom:
configMapKeyRef:
name: drone-config
key: server.remote.gitea.skip.verify
- name: DRONE_DEBUG
valueFrom:
configMapKeyRef:
name: drone-config
key: server.debug
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: