generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
82 additions
and
82 deletions.
There are no files selected for viewing
98 changes: 49 additions & 49 deletions
98
kubernetes/apps/harbor-registry/harbor/app/helmrelease.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2.json | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: harbor-registry | ||
namespace: harbor-registry | ||
spec: | ||
interval: 30m | ||
timeout: 5m | ||
chartRef: | ||
kind: OCIRepository | ||
name: harbor-registry | ||
namespace: flux-system | ||
install: | ||
remediation: | ||
retries: 3 | ||
upgrade: | ||
cleanupOnFail: true | ||
remediation: | ||
strategy: rollback | ||
retries: 3 | ||
values: | ||
externalURL: https://registry.circlehard.com | ||
adminPassword: changeme | ||
persistence: | ||
persistentVolumeClaim: | ||
registry: | ||
size: 50Gi | ||
core: | ||
updateStrategy: | ||
type: Recreate | ||
jobservice: | ||
updateStrategy: | ||
type: Recreate | ||
registry: | ||
updateStrategy: | ||
type: Recreate | ||
exposureType: ingress | ||
ingress: | ||
className: external | ||
enabled: true | ||
hosts: | ||
- host: "registry.${SECRET_DOMAIN}" | ||
core: | ||
annotations: | ||
external-dns.alpha.kubernetes.io/target: "external.${SECRET_DOMAIN}" | ||
hostname: "registry.${SECRET_DOMAIN}" | ||
tls: true | ||
# --- | ||
# # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2.json | ||
# apiVersion: helm.toolkit.fluxcd.io/v2 | ||
# kind: HelmRelease | ||
# metadata: | ||
# name: harbor-registry | ||
# namespace: harbor-registry | ||
# spec: | ||
# interval: 30m | ||
# timeout: 5m | ||
# chartRef: | ||
# kind: OCIRepository | ||
# name: harbor-registry | ||
# namespace: flux-system | ||
# install: | ||
# remediation: | ||
# retries: 3 | ||
# upgrade: | ||
# cleanupOnFail: true | ||
# remediation: | ||
# strategy: rollback | ||
# retries: 3 | ||
# values: | ||
# externalURL: https://registry.circlehard.com | ||
# adminPassword: changeme | ||
# persistence: | ||
# persistentVolumeClaim: | ||
# registry: | ||
# size: 50Gi | ||
# core: | ||
# updateStrategy: | ||
# type: Recreate | ||
# jobservice: | ||
# updateStrategy: | ||
# type: Recreate | ||
# registry: | ||
# updateStrategy: | ||
# type: Recreate | ||
# exposureType: ingress | ||
# ingress: | ||
# className: external | ||
# enabled: true | ||
# hosts: | ||
# - host: "registry.${SECRET_DOMAIN}" | ||
# core: | ||
# annotations: | ||
# external-dns.alpha.kubernetes.io/target: "external.${SECRET_DOMAIN}" | ||
# hostname: "registry.${SECRET_DOMAIN}" | ||
# tls: true |
12 changes: 6 additions & 6 deletions
12
kubernetes/apps/harbor-registry/harbor/app/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./helmrelease.yaml | ||
# --- | ||
# # yaml-language-server: $schema=https://json.schemastore.org/kustomization | ||
# apiVersion: kustomize.config.k8s.io/v1beta1 | ||
# kind: Kustomization | ||
# resources: | ||
# - ./helmrelease.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: &app harbor | ||
namespace: flux-system | ||
spec: | ||
targetNamespace: harbor-registry | ||
commonMetadata: | ||
labels: | ||
app.kubernetes.io/name: *app | ||
path: ./kubernetes/apps/harbor-registry/harbor/app | ||
prune: false # never should be deleted | ||
sourceRef: | ||
kind: GitRepository | ||
name: home-kubernetes | ||
wait: false | ||
interval: 30m | ||
timeout: 30m | ||
# --- | ||
# # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json | ||
# apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
# kind: Kustomization | ||
# metadata: | ||
# name: &app harbor | ||
# namespace: flux-system | ||
# spec: | ||
# targetNamespace: harbor-registry | ||
# commonMetadata: | ||
# labels: | ||
# app.kubernetes.io/name: *app | ||
# path: ./kubernetes/apps/harbor-registry/harbor/app | ||
# prune: false # never should be deleted | ||
# sourceRef: | ||
# kind: GitRepository | ||
# name: home-kubernetes | ||
# wait: false | ||
# interval: 30m | ||
# timeout: 30m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./namespace.yaml | ||
# - ./harbor/ks.yaml | ||
# --- | ||
# # yaml-language-server: $schema=https://json.schemastore.org/kustomization | ||
# apiVersion: kustomize.config.k8s.io/v1beta1 | ||
# kind: Kustomization | ||
# resources: | ||
# - ./namespace.yaml | ||
# - ./harbor/ks.yaml |