-
Notifications
You must be signed in to change notification settings - Fork 61
WIP: Replace templating and custom deployment with Helm #224
base: master
Are you sure you want to change the base?
Conversation
417795a
to
8fc513c
Compare
I want to a few deploys over a few sets of options (customer URL, customers secret, DO DNS, etc) before im willing to remove the WIP status. I also need to do a full feature-comparison with whats been removed vs added. |
d9987a4
to
247732a
Compare
b95ce84
to
8a2b86d
Compare
@@ -114,7 +114,7 @@ secrets: | |||
value_from: "~/Downloads/service-account.json" | |||
filters: | |||
- "gcp_dns01" | |||
namespace: "cert-manager" | |||
namespace: "openfaas" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did all these namespaces change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect the DNS01 secret to continue to live in the cert-manager namespace?
@@ -105,26 +103,6 @@ func Apply(plan types.Plan) error { | |||
return dashboardConfigErr | |||
} | |||
|
|||
if plan.EnableOAuth { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this done going forward?
@@ -133,12 +111,6 @@ func Apply(plan types.Plan) error { | |||
return stackErr | |||
} | |||
|
|||
if builderErr := generateTemplate("of-builder-dep", plan, builderConfig{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Certain that this is updated in the new chart?
@@ -2,7 +2,7 @@ | |||
|
|||
rm -rf ./tmp/openfaas-cloud | |||
|
|||
git clone https://github.com/openfaas/openfaas-cloud ./tmp/openfaas-cloud | |||
git clone https://github.com/openfaas/openfaas-cloud --depth 1 ./tmp/openfaas-cloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can checkout a branch directly apparently with --branch
Not sure about SHAs though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the amount of change in the PR, I have some questions that I would like you to look into before I merge.
@Waterdrips please could you see my comments? |
Yeh there's going to be a load of re work now we have multi arch. I'll address comments while doing the updates |
8a2b86d
to
508bb16
Compare
This commit replaces the custom OFC installation scripts (shell script and golang) with the OFC Helm chart which is pulled from the OFC release specified in the init.yaml. This has been tested using my init.yaml taken from a working cluster and applied to a new cluster (same init.yaml) with the new deployment method using the chart Signed-off-by: Alistair Hey <[email protected]>
This should allow passing the --update-cloud flag which will only upgrade/install the OFC core components (chart AND stack.yaml etc) This also fixes the ClusterIssuer -> Issuer move so the secrets for DNS need to be in the issuer namespace Signed-off-by: Alistair Hey <[email protected]>
508bb16
to
d06c02b
Compare
This PR replaces the custom OFC installation scripts (shell script
and golang) with the OFC Helm chart which is pulled from the OFC release
specified in the init.yaml.
This PR requires openfaas/openfaas-cloud#680 merged, and ofc-version
master
selected in ofc-bootstrap, or waiting for a new ofc releaseFixes #223
Fixes #154
Signed-off-by: Alistair Hey [email protected]
Description
How Has This Been Tested?
This has been tested using my init.yaml taken from a working cluster and
applied to a new cluster (same init.yaml) with the new deployment method
using the chart
This was using Route53 DNS on a Civo k3s cluster
Checklist:
I have:
git commit -s