Move harbor into its own namespace

This commit is contained in:
SeanOMik 2023-04-16 01:55:15 -04:00
parent 3250c0b4ea
commit 4818667d42
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
8 changed files with 9 additions and 13 deletions

View File

@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./harbor

View File

@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: harbor-core-ingress name: harbor-core-ingress
namespace: default namespace: harbor
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure

View File

@ -2,7 +2,7 @@ apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
name: harbor-registry-pv name: harbor-registry-pv
namespace: default namespace: harbor
spec: spec:
storageClassName: hostpath storageClassName: hostpath
persistentVolumeReclaimPolicy: Retain persistentVolumeReclaimPolicy: Retain
@ -17,7 +17,7 @@ apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: harbor-registry-pv-claim name: harbor-registry-pv-claim
namespace: default namespace: harbor
spec: spec:
storageClassName: hostpath storageClassName: hostpath
accessModes: accessModes:

View File

@ -2,11 +2,11 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: harbor-secret name: harbor-secret
namespace: default namespace: harbor
stringData: stringData:
REGISTRY_STORAGE_S3_ACCESSKEY: ENC[AES256_GCM,data:1k2KYsDvvQs=,iv:6GEFFeLSKH8+QxDg3rLR7q9h0jglYU4ou1byklt2x8w=,tag:JjFAs/3jsVhSBGJmbul4iQ==,type:str] REGISTRY_STORAGE_S3_ACCESSKEY: ENC[AES256_GCM,data:1k2KYsDvvQs=,iv:6GEFFeLSKH8+QxDg3rLR7q9h0jglYU4ou1byklt2x8w=,tag:JjFAs/3jsVhSBGJmbul4iQ==,type:str]
REGISTRY_STORAGE_S3_SECRETKEY: ENC[AES256_GCM,data:0U40z0y7vn2wPPyGt0dYQx80QuGoj7Ni/uJMtHgrc5U=,iv:YX9acsf2G2B4RLnGez6VLD2UiwKFIqhz2X4S+uTyX50=,tag:hVJVh2aSpVz22BjGGcPOuA==,type:str] REGISTRY_STORAGE_S3_SECRETKEY: ENC[AES256_GCM,data:0U40z0y7vn2wPPyGt0dYQx80QuGoj7Ni/uJMtHgrc5U=,iv:YX9acsf2G2B4RLnGez6VLD2UiwKFIqhz2X4S+uTyX50=,tag:hVJVh2aSpVz22BjGGcPOuA==,type:str]
#ENC[AES256_GCM,data:ZnoDtolYKRhyxkOwY/auWXFO,iv:4vNIwJ8iUtrmf0p0e2sTiI5wE3XTHEC1H+L33hCttvo=,tag:QEXj/nob2MQO6qBHwsHZuw==,type:comment] #ENC[AES256_GCM,data:JGk1Br4y3LKLTdPHRD4F+hwP,iv:rzYB5JF0SeE9BWwp5btZABpfHgqKfQukXpXAa0Dy2A0=,tag:K9pJFFtcDhmrE4SfYlivwg==,type:comment]
password: ENC[AES256_GCM,data:XkJEhaoRRSlxbKP94GN8dIZbj8KCwZFkcpgWNjn4vZE=,iv:Bi0D/T1izvN+l8LoZDwyUrcoN1ViS2Q6ambq2xyJFk8=,tag:ojUu0VOdnXJjbsb0XigkDg==,type:str] password: ENC[AES256_GCM,data:XkJEhaoRRSlxbKP94GN8dIZbj8KCwZFkcpgWNjn4vZE=,iv:Bi0D/T1izvN+l8LoZDwyUrcoN1ViS2Q6ambq2xyJFk8=,tag:ojUu0VOdnXJjbsb0XigkDg==,type:str]
REDIS_PASSWORD: ENC[AES256_GCM,data:8kEbWelcGhd4v/yewnM4QshW2hzx+VWX2iFE76sKhYc=,iv:kbGieMQhMbml2SIznBX1pTncnSaxdsZ0PUynCECpjyU=,tag:HfRJA+P57IzpxuFtKD+tTg==,type:str] REDIS_PASSWORD: ENC[AES256_GCM,data:8kEbWelcGhd4v/yewnM4QshW2hzx+VWX2iFE76sKhYc=,iv:kbGieMQhMbml2SIznBX1pTncnSaxdsZ0PUynCECpjyU=,tag:HfRJA+P57IzpxuFtKD+tTg==,type:str]
sops: sops:
@ -15,8 +15,8 @@ sops:
azure_kv: [] azure_kv: []
hc_vault: [] hc_vault: []
age: [] age: []
lastmodified: "2023-04-16T05:35:54Z" lastmodified: "2023-04-16T05:54:57Z"
mac: ENC[AES256_GCM,data:nUw6uWXcOqlndRzVmbfmCmCyHbGSBBYm4tfitpa/IL0xFcmPlL/49wKpIxYBHlEq0sPy/6/Wr27ZZV3/6C4arCX+SDzrgKpzSZ7KZE2YWHiypaCA5G+bbswOm72WTYQJ70i+qcQHGuB3QB9KixwNa6vN0Jm0hunGn6LziK8QIbA=,iv:D+IP2Ct9jNORGRcIQvgCN+v4+RrXNRTq6UfZGULyzXI=,tag:W7j8lAMHC3yQQXrNrp0XVA==,type:str] mac: ENC[AES256_GCM,data:c4DP6+KnDOXYubNbf5NqVZPxBik0a0BDiKqNLqm5dlNqjReeQFMa5BJxENelMwLMH2T/pHZ40i1UVfkTDbsy//+oWgUwZDcmN4MVDC+Y0nPqgF48K6obxJ0XgNg5tDqPWyxTMJuslMP3QDCZVyBWODb51Zzfwpd6fuiBogKdlBM=,iv:JiHRd3tFLg+UKcRfKlnyK6CEK6K6EAe/QNc0lm4Lf4w=,tag:wkt+kX3I//yN1Ob2+aiw5A==,type:str]
pgp: pgp:
- created_at: "2023-04-07T01:57:22Z" - created_at: "2023-04-07T01:57:22Z"
enc: | enc: |

View File

@ -2,7 +2,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: harbor name: harbor
namespace: default namespace: harbor
spec: spec:
interval: 5m interval: 5m
chart: chart:

View File

@ -9,4 +9,4 @@ resources:
- ./tools - ./tools
- ./irc - ./irc
- ./monitoring - ./monitoring
- ./default - ./harbor