Compare commits

..

2 Commits

Author SHA1 Message Date
8d911a2bc3
Add ingress for Longhorn 2024-08-06 19:19:53 -05:00
30eb618855
Add nginx-ingress 2024-08-06 17:44:43 -05:00
5 changed files with 76 additions and 10 deletions

View File

@ -1,7 +1,7 @@
--- ---
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: ingress-nginx namespace: nginx-ingress
resources: resources:
- namespace.yaml - namespace.yaml
- repository.yaml - repository.yaml

View File

@ -2,4 +2,4 @@
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: ingress-nginx name: nginx-ingress

View File

@ -2,14 +2,14 @@
apiVersion: helm.toolkit.fluxcd.io/v2 apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: ingress-nginx name: nginx-ingress
namespace: ingress-nginx namespace: nginx-ingress
spec: spec:
chart: chart:
spec: spec:
chart: ingress-nginx chart: nginx-ingress
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: ingress-nginx name: nginx-ingress
version: 1.11.1 version: 1.3.1
interval: 50m interval: 50m

View File

@ -2,8 +2,9 @@
apiVersion: source.toolkit.fluxcd.io/v1 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: ingress-nginx name: nginx-ingress
namespace: ingress-nginx namespace: nginx-ingress
spec: spec:
type: "oci"
interval: 5m interval: 5m
url: https://kubernetes.github.io/ingress-nginx url: oci://ghcr.io/nginxinc/charts

65
temp.json Normal file
View File

@ -0,0 +1,65 @@
{
"apiVersion": "v1",
"kind": "Namespace",
"metadata": {
"annotations": {
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"labels\":{\"app.kubernetes.io/instance\":\"flux-system\",\"app.kubernetes.io/part-of\":\"flux\",\"app.kubernetes.io/version\":\"v2.3.0\",\"pod-security.kubernetes.io/warn\":\"restricted\",\"pod-security.kubernetes.io/warn-version\":\"latest\"},\"name\":\"flux-system\"}}\n"
},
"creationTimestamp": "2024-08-06T20:28:12Z",
"deletionTimestamp": "2024-08-06T20:28:34Z",
"labels": {
"app.kubernetes.io/instance": "flux-system",
"app.kubernetes.io/part-of": "flux",
"app.kubernetes.io/version": "v2.3.0",
"kubernetes.io/metadata.name": "flux-system",
"pod-security.kubernetes.io/warn": "restricted",
"pod-security.kubernetes.io/warn-version": "latest"
},
"name": "flux-system",
"resourceVersion": "7727",
"uid": "9083e227-1e7a-4d0a-868a-ac04edda1a9e"
},
"spec": {
"finalizers": []
},
"status": {
"conditions": [
{
"lastTransitionTime": "2024-08-06T20:28:40Z",
"message": "All resources successfully discovered",
"reason": "ResourcesDiscovered",
"status": "False",
"type": "NamespaceDeletionDiscoveryFailure"
},
{
"lastTransitionTime": "2024-08-06T20:28:40Z",
"message": "All legacy kube types successfully parsed",
"reason": "ParsedGroupVersions",
"status": "False",
"type": "NamespaceDeletionGroupVersionParsingFailure"
},
{
"lastTransitionTime": "2024-08-06T20:28:40Z",
"message": "All content successfully deleted, may be waiting on finalization",
"reason": "ContentDeleted",
"status": "False",
"type": "NamespaceDeletionContentFailure"
},
{
"lastTransitionTime": "2024-08-06T20:28:40Z",
"message": "Some resources are remaining: gitrepositories.source.toolkit.fluxcd.io has 1 resource instances, kustomizations.kustomize.toolkit.fluxcd.io has 1 resource instances",
"reason": "SomeResourcesRemain",
"status": "True",
"type": "NamespaceContentRemaining"
},
{
"lastTransitionTime": "2024-08-06T20:28:40Z",
"message": "Some content in the namespace has finalizers remaining: finalizers.fluxcd.io in 2 resource instances",
"reason": "SomeFinalizersRemain",
"status": "True",
"type": "NamespaceFinalizersRemaining"
}
],
"phase": "Terminating"
}
}