Skip to content

Commit

Permalink
Airgapped Docs - Release Fix (#78)
Browse files Browse the repository at this point in the history
* Fix heimdall2 bug (#63)

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>

* bump chart versions (#65)

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>

* Update stigatron (#67)

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>

* Update heimdall to v0.1.24

* rev

* Update heimdall2 ref

* Add rancher chart (#72)

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>

* add rancher 2.7.1 (#74)

* add rancher 2.7.1

* Fix

---------

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for stigatron-ui

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for stigatron

* DRAFT: Airgapped docs update 1 (#77)

* update airgapped-docs charts for k8s 1.21 support

* Clean up hauler navlink

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for stigatron-ui

* AUTOMATION: SSF Prod Chart Update for heimdall2

* AUTOMATION: SSF Prod Chart Update for stigatron

---------

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>
Co-authored-by: Carbide SSF <carbide@rancherfederal.com>

---------

Co-authored-by: Adam Toy <adam.toy@rancherfederal.com>
Co-authored-by: Carbide SSF <carbide@rancherfederal.com>
  • Loading branch information
3 people authored Mar 30, 2023
1 parent 1bce0f3 commit 1c338c9
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 67 deletions.
4 changes: 2 additions & 2 deletions charts/airgapped-docs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: airgapped-docs
description: Rancher Government Airgapped Docs
icon: https://raw.githubusercontent.com/rancherfederal/carbide-docs/main/static/img/carbide-logo.svg
type: application
version: 0.1.42
appVersion: "0.1.0"
version: 0.1.43
appVersion: "0.1.1"
8 changes: 3 additions & 5 deletions charts/airgapped-docs/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ spec:
spec:
containers:
- name: {{ $key }}-offline-docs
image: {{ template "system_default_registry" . }}{{ $value.image.name }}:{{ $value.image.tag }}
image: {{ template "system_default_registry" . }}{{ $value.image.name }}:{{ $value.image.tag | default .Values.defaults.image.tag }}
imagePullPolicy: Always
{{- if $value.uid }}
securityContext:
runAsUser: {{ $value.uid }}
{{- end }}
runAsUser: {{ $value.uid | default .Values.defaults.uid }}
ports:
- name: http
containerPort: 80
containerPort: {{ $value.containerPort | default .Values.defaults.containerPort }}
{{- end }}
{{- end -}}
{{- end }}
20 changes: 0 additions & 20 deletions charts/airgapped-docs/templates/navlink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,26 +181,6 @@ spec:

---

apiVersion: ui.cattle.io/v1
kind: NavLink
metadata:
name: hauler-offline-docs
spec:
label: TODO Hauler Docs
target: _blank
description: swiss-army tool
group: Airgap-friendly Docs
iconSrc:
label: Hauler Docs
sideLabel: air-gap
toService:
name: hauler-offline-docs
namespace: "{{ .Release.Namespace }}"
port: "80"
scheme: http

---

apiVersion: ui.cattle.io/v1
kind: NavLink
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/airgapped-docs/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: http
port: 80
protocol: TCP
targetPort: 80
targetPort: http
selector:
app: {{ $key }}-offline-docs
{{- end }}
Expand Down
44 changes: 17 additions & 27 deletions charts/airgapped-docs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,82 +5,72 @@ global:
cattle:
systemDefaultRegistry: "rgcrprod.azurecr.us"

images:
carbide:
name: carbide/carbide-docs
tag: 0.1.0
defaults:
containerPort: 8080
uid: 65532
image:
tag: "0.1.1"

docs:
kubernetes:
enabled: true
uid: 65532
image:
name: "carbide/kubernetes-cncf-docs"
tag: "0.1.0"
# tag: "0.1.1"
rancher:
enabled: true
uid: 65532
image:
name: "carbide/rancher-docs"
tag: "0.1.0"
# tag: "0.1.1"
rke2:
enabled: true
uid: 65532
image:
name: "carbide/rke2-docs"
tag: "0.1.0"
# tag: "0.1.1"
k3s:
enabled: true
uid: 65532
image:
name: "carbide/k3s-docs"
tag: "0.1.0"
# tag: "0.1.1"
neuvector:
enabled: true
uid: 100
image:
name: "carbide/neuvector-docs"
tag: "0.1.0"
# tag: "0.1.1"
fleet:
enabled: true
uid: 65532
image:
name: "carbide/fleet-docs"
tag: "0.1.0"
# tag: "0.1.1"
longhorn:
enabled: true
uid: 65532
image:
name: "carbide/longhorn-docs"
tag: "0.1.0"
# tag: "0.1.1"
kubewarden:
enabled: true
uid: 65532
image:
name: "carbide/kubewarden-docs"
tag: "0.1.0"
# tag: "0.1.1"
carbide:
enabled: true
uid: 65532
image:
name: "carbide/carbide-docs"
tag: "0.1.0"
# tag: "0.1.1"
elemental:
enabled: true
uid: 65532
image:
name: "carbide/elemental-docs"
tag: "0.1.0"
# tag: "0.1.1"
harvester:
enabled: true
uid: 65532
image:
name: "carbide/harvester-docs"
tag: "0.1.0"
# tag: "0.1.1"
rancherdesktop:
enabled: true
uid: 65532
image:
name: "carbide/rancher-desktop-docs"
tag: "0.1.0"
# tag: "0.1.1"

4 changes: 2 additions & 2 deletions charts/heimdall2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: heimdall2
description: Rancher Government Heimdall2 Tool
icon: https://raw.githubusercontent.com/rancherfederal/carbide-docs/main/static/img/carbide-logo.svg
type: application
version: 0.1.24
appVersion: "0.1.0"
version: 0.1.29
appVersion: "0.1.1"
10 changes: 5 additions & 5 deletions charts/heimdall2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ proxy:
imagePullPolicy: IfNotPresent
image:
name: carbide/heimdall-proxy
tag: "0.1.0"
tag: "0.1.1"
port: 8080
service:
type: ClusterIP
port: 80
postgres:
image:
name: carbide/postgres
tag: "13"
name: carbide/heimdall-postgres
tag: "13.1"
imagePullPolicy: IfNotPresent
port: 5432
service:
Expand Down Expand Up @@ -49,14 +49,14 @@ heimdall:
axios: ""
rcidf: # rancher-cluster-id-finder
name: carbide/rcidf
tag: "0.1.0"
tag: "0.1.1"
databaseName: "heimdall"
# repository: mitre/heimdall2
# tag: 2.6.32
image:
name: carbide/heimdall2
tag: "0.1.0"
path: 0.1.0
path: 0.1.1
port: 8080
service:
type: ClusterIP
Expand Down
4 changes: 2 additions & 2 deletions charts/stigatron-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: stigatron-ui
description: Rancher Government Stigatron UI Extension
icon: https://raw.githubusercontent.com/rancherfederal/carbide-docs/main/static/img/carbide-logo.svg
type: application
version: 0.1.19
appVersion: "0.3.0"
version: 0.1.20
appVersion: "0.1.1"
2 changes: 1 addition & 1 deletion charts/stigatron-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1
UIPluginNamespace: cattle-ui-plugin-system
image:
pullPolicy: Always
tag: "0.1.0"
tag: "0.1.1"
name: carbide/stigatron-ui
imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion charts/stigatron/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: stigatron
description: Rancher Government Stigatron Extension
icon: https://raw.githubusercontent.com/rancherfederal/carbide-docs/main/static/img/carbide-logo.svg
type: application
version: 0.1.39
version: 0.1.40
appVersion: "0.1.0"
dependencies:
- name: heimdall2
Expand Down
2 changes: 1 addition & 1 deletion charts/stigatron/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
complianceOperator:
image:
name: carbide/compliance-operator
tag: "0.1.0"
tag: "0.1.1"
imagePullPolicy: Always
serviceAccountName: stigatron
heimdallOperator:
Expand Down

0 comments on commit 1c338c9

Please sign in to comment.