Skip to content

Commit

Permalink
feat: ingres version update
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdsb committed Feb 19, 2023
1 parent 07452f0 commit 6845e9c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ config :discovery,
config :discovery, :api_version,
config_map: "v1",
deployment: "apps/v1",
ingress: "networking.k8s.io/v1beta1",
ingress: "networking.k8s.io/v1",
namespace: "v1",
service: "v1"

Expand Down
4 changes: 2 additions & 2 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ ENV MIX_ENV="${MIX_ENV}"

# install mix dependencies
COPY mix.exs mix.lock ./
RUN mix deps.get --only $MIX_ENV
RUN mkdir config
COPY config config
RUN mix do deps.get, deps.compile

# copy compile-time config files before we compile dependencies
# to ensure any relevant config change will trigger the dependencies
Expand Down
4 changes: 2 additions & 2 deletions lib/discovery/deploy/deploy_utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ defmodule Discovery.Deploy.DeployUtils do
end
end

@spec create_app_folder(app()) :: :ok | {:error, term()}
@spec create_app_version_folder(app()) :: :ok | {:error, term()}
defp create_app_version_folder(app) do
File.mkdir("minikube/discovery/#{app.app_name}/#{app.app_name}-#{app.uid}")
end
Expand Down Expand Up @@ -283,7 +283,7 @@ defmodule Discovery.Deploy.DeployUtils do

@spec patch_resource(String.t()) :: :ok | {:error, String.t()}
defp patch_resource(resource) do
Utils.puts_warn("RUNNING RESOURCE: #{resource}")
Utils.puts_warn("PATCHING RESOURCE: #{resource}")

with conn when not is_nil(conn) <- Builder.get_conn(),
{:ok, resource_map} <- K8s.Resource.from_file(resource),
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_DEV = 0.2.2
VERSION_DEV = 0.2.3
VERSION_PROD = 0.1.0

commit:
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Discovery.MixProject do
use Mix.Project

@version "0.2.1"
@version "0.2.3"

def project do
[
Expand Down

0 comments on commit 6845e9c

Please sign in to comment.