Skip to content

Commit

Permalink
fix: commit changes with new profiles
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Barthés <[email protected]>
  • Loading branch information
guilhem-barthes committed Apr 12, 2024
1 parent cd98779 commit a690665
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/secrets/secret-harbor-dockerconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
data:
.dockerconfigjson:
.dockerconfigjson: eyJhdXRocyI6eyJyZWdpc3RyeS5vcmctMi5jb206MzAwNDYiOnsidXNlcm5hbWUiOiJhZG1pbiIsInBhc3N3b3JkIjoiaGFyYm9yUEBzc3dvcmQyNDAzIiwiYXV0aCI6IllXUnRhVzQ2YUdGeVltOXlVRUJ6YzNkdmNtUXlOREF6In0sInJlZ2lzdHJ5Lm9yZy0yLmNvbSI6eyJ1c2VybmFtZSI6ImFkbWluIiwicGFzc3dvcmQiOiJoYXJib3JQQHNzd29yZDI0MDMiLCJhdXRoIjoiWVdSdGFXNDZhR0Z5WW05eVVFQnpjM2R2Y21ReU5EQXoifX19
kind: Secret
metadata:
creationTimestamp: null
Expand Down
8 changes: 8 additions & 0 deletions examples/secrets/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ profiles:
- op: add
path: /deploy/kubectl/-
value: "./secret-orchestrator-tls-org-3-client-pair.yaml"
- name: org-2-external-registry
patches:
- op: add
path: /deploy/kubectl/manifests/-
value: "./secret-harbor-dockerconfig.yaml"
- name: org-2-harbor
patches:
- op: add
path: /deploy/kubectl/manifests/-
value: "./secret-harbor-dockerconfig.yaml"
- op: add
path: /deploy/kubectl/manifests/-
value: "../values/coredns-custom-harbor.yaml"

3 changes: 3 additions & 0 deletions examples/values/backend-org-2-harbor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ docker-registry:
containerRegistry:
local: false
scheme: https
host: registry.org-2.com
pullDomain: registry.org-2.com:30046
port: 30046
prepopulate:
- image: substra/substra-tools:latest
dstImage: substra/substra-tools:latest
Expand Down
9 changes: 9 additions & 0 deletions examples/values/coredns-custom-harbor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

apiVersion: v1
kind: ConfigMap
metadata:
name: coredns-custom
namespace: kube-system
data:
test.override: |
rewrite name registry.org-2.com harbor.harbor.svc.cluster.local
21 changes: 21 additions & 0 deletions examples/values/harbor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
service:
type: NodePort

ports:
http: 30000
https: 30046

nodePorts:
http: 30000
https: 30046


externalURL: https://registry.org-2.com:30046
adminPassword: "harborP@ssword2403"

nginx:
containerPorts:
http: 30000
https: 30046
tls:
commonName: registry.org-2.com
18 changes: 16 additions & 2 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,25 @@ profiles:
setValueTemplates: *image-tags
createNamespace: true
skipBuildDependencies: true
- name: org-2-external-registry
patches:
- op: add
path: /deploy/helm/releases/1/valuesFiles/-
value: examples/values/backend-org-2-harbor.yaml
- name: org-2-harbor
patches:
- op: add
path: /deploy/helm/releases/1/valuesFiles/-
value: examples/values/backend-org-2-harbor.yaml
- op: add
path: /manifests/rawYaml
value: "./secret-harbor-dockerconfig.yaml"
path: /deploy/helm/releases/-
value:
name: harbor
remoteChart: harbor
repo: https://charts.bitnami.com/bitnami
valuesFiles:
- examples/values/harbor.yaml
namespace: harbor
setValues:
_: _
createNamespace: true

0 comments on commit a690665

Please sign in to comment.