[Skip-CI] remove unused var
Correct link spec.
This commit is contained in:
parent
b3e8f70787
commit
752d71dacd
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@
|
||||||
[unique-name pred/fqdn-string?]
|
[unique-name pred/fqdn-string?]
|
||||||
(str (replace-dots-by-minus unique-name) "-ingress"))
|
(str (replace-dots-by-minus unique-name) "-ingress"))
|
||||||
|
|
||||||
; https://your.gitea.host/api/v1/repos/<owner>/<repo>/archive/main.zip
|
; https://your.gitea.host/api/v1/repos/<owner>/<repo>/archive/<branch>.zip
|
||||||
(defn-spec generate-gitrepourl string?
|
(defn-spec generate-gitrepourl string?
|
||||||
[host pred/fqdn-string?
|
[host pred/fqdn-string?
|
||||||
repo string?
|
repo string?
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
(defn-spec replace-common-data pred/map-or-seq?
|
(defn-spec replace-common-data pred/map-or-seq?
|
||||||
[resource-file string?
|
[resource-file string?
|
||||||
config flattened-and-reduced-config?]
|
config flattened-and-reduced-config?]
|
||||||
(let [{:keys [unique-name sha256sum-output]} config]
|
(let [{:keys [unique-name]} config]
|
||||||
(->
|
(->
|
||||||
(yaml/load-as-edn resource-file)
|
(yaml/load-as-edn resource-file)
|
||||||
(assoc-in [:metadata :labels :app.kubernetes.part-of] (generate-app-name unique-name))
|
(assoc-in [:metadata :labels :app.kubernetes.part-of] (generate-app-name unique-name))
|
||||||
|
|
Loading…
Reference in a new issue