diff --git a/.drone.yml b/.drone.yml index 2fbb6ef..02a1b31 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,7 @@ name: default steps: - name: Build image image: gcr.io/kaniko-project/executor:debug + network_mode: host commands: - | echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $GITEA_USER $GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json diff --git a/deploy/k8s/deployment.yaml b/deploy/k8s/deployment.yaml index 3818772..2620e75 100644 --- a/deploy/k8s/deployment.yaml +++ b/deploy/k8s/deployment.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: inetmock-docs - image: code.icb4dc0.de/buildr/docs + image: buildr-docs ports: - name: http containerPort: 3000 diff --git a/deploy/k8s/kustomization.yaml b/deploy/k8s/kustomization.yaml index 4ea1bcc..77b7700 100644 --- a/deploy/k8s/kustomization.yaml +++ b/deploy/k8s/kustomization.yaml @@ -1,2 +1,18 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization + +namespace: buildr + +commonLabels: + app.kubernetes.io/instance: buildr-docs + app.kubernetes.io/managed-by: kustomize + +images: + - name: buildr-docs + newName: code.icb4dc0.de/buildr/docs + newTag: latest + +resources: + - "deployment.yaml" + - "service.yaml" + - "ingress.yaml" \ No newline at end of file