Skip to content

Commit

Permalink
Switch to rancher/rancher and rancher/rancher-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Apr 26, 2018
1 parent f9c1a04 commit fe8e295
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pipeline:
docker-publish-master:
image: plugins/docker
dockerfile: package/Dockerfile
repo: rancher/server
repo: rancher/rancher
context: package/
tag: master
secrets: [docker_username, docker_password]
Expand All @@ -32,7 +32,7 @@ pipeline:
docker-publish-master-agent:
image: plugins/docker
dockerfile: package/Dockerfile.agent
repo: rancher/agent
repo: rancher/rancher-agent
context: package/
tag: master
secrets: [docker_username, docker_password]
Expand All @@ -45,7 +45,7 @@ pipeline:
docker-publish:
image: plugins/docker
dockerfile: package/Dockerfile
repo: rancher/server
repo: rancher/rancher
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
Expand All @@ -58,7 +58,7 @@ pipeline:
docker-publish-agent:
image: plugins/docker
dockerfile: package/Dockerfile.agent
repo: rancher/agent
repo: rancher/rancher-agent
context: package/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Rancher versions:**
rancher/server:
rancher/agent:
rancher/server or rancher/rancher:
rancher/agent or rancher/rancher-agent:

**Infrastructure Stack versions:**
healthcheck:
Expand Down
4 changes: 2 additions & 2 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARG VERSION=dev
ENV CATTLE_SERVER_VERSION ${VERSION}
COPY rancher /usr/bin/

ENV CATTLE_AGENT_IMAGE rancher/agent:${VERSION}
ENV CATTLE_SERVER_IMAGE rancher/server
ENV CATTLE_AGENT_IMAGE rancher/rancher-agent:${VERSION}
ENV CATTLE_SERVER_IMAGE rancher/rancher
VOLUME /var/lib/rancher
ENTRYPOINT ["rancher", "--http-listen-port=80", "--https-listen-port=443"]
2 changes: 1 addition & 1 deletion package/Dockerfile.agent
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY --from=k8s /usr/bin/kubectl /usr/bin/
ARG VERSION=dev
LABEL io.cattle.agent true
ENV DOCKER_API_VERSION 1.24
ENV AGENT_IMAGE rancher/agent:${VERSION}
ENV AGENT_IMAGE rancher/rancher-agent:${VERSION}
ENV SSL_CERT_DIR /etc/kubernetes/ssl/certs
COPY agent run.sh kubectl-shell.sh shell-setup.sh share-root.sh /usr/bin/
ENTRYPOINT ["run.sh"]
4 changes: 2 additions & 2 deletions pkg/settings/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var (
settings = map[string]Setting{}
provider Provider

AgentImage = newSetting("agent-image", "rancher/agent:master")
AgentImage = newSetting("agent-image", "rancher/rancher-agent:master")
CACerts = newSetting("cacerts", "")
CLIURLDarwin = newSetting("cli-url-darwin", "https://releases.rancher.com/cli/v1.0.0-alpha8/rancher-darwin-amd64-v1.0.0-alpha8.tar.gz")
CLIURLLinux = newSetting("cli-url-linux", "https://releases.rancher.com/cli/v1.0.0-alpha8/rancher-linux-amd64-v1.0.0-alpha8.tar.gz")
Expand All @@ -23,7 +23,7 @@ var (
KubernetesVersionToSystemImages = newSetting("k8s-version-to-images", getSystemImages())
MachineVersion = newSetting("machine-version", "dev")
SystemDefaultRegistry = newSetting("system-default-registry", "")
ServerImage = newSetting("server-image", "rancher/server")
ServerImage = newSetting("server-image", "rancher/rancher")
ServerVersion = newSetting("server-version", "dev")
ServerURL = newSetting("server-url", "")
TelemetryOpt = newSetting("telemetry-opt", "")
Expand Down

0 comments on commit fe8e295

Please sign in to comment.