File tree 4 files changed +30
-5
lines changed
4 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import { Application } from "../../imports/argoproj.io.ts";
3
3
import versions from "../versions.ts" ;
4
4
5
5
export function createOnePasswordApp ( chart : Chart ) {
6
+ // TODO: create the 1password secrets here
7
+
6
8
new Application ( chart , "1password-app" , {
7
9
metadata : {
8
10
name : "1password" ,
Original file line number Diff line number Diff line change @@ -27,9 +27,30 @@ export function createAppsChart(app: App) {
27
27
28
28
createStorageClasses ( chart ) ;
29
29
30
- new Namespace ( chart , `torvals-namespace` , {
30
+ new Namespace ( chart , `openebs-namespace` , {
31
+ metadata : {
32
+ name : `openebs` ,
33
+ labels : {
34
+ "pod-security.kubernetes.io/enforce" : "privileged" ,
35
+ } ,
36
+ } ,
37
+ } ) ;
38
+
39
+ new Namespace ( chart , `maintenance-namespace` , {
40
+ metadata : {
41
+ name : `maintenance` ,
42
+ labels : {
43
+ "pod-security.kubernetes.io/audit" : "restricted" ,
44
+ } ,
45
+ } ,
46
+ } ) ;
47
+
48
+ new Namespace ( chart , `torvalds-namespace` , {
31
49
metadata : {
32
50
name : `torvalds` ,
51
+ labels : {
52
+ "pod-security.kubernetes.io/enforce" : "privileged" ,
53
+ } ,
33
54
} ,
34
55
} ) ;
35
56
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ export function createTorvaldsChart(app: App) {
27
27
} ) ;
28
28
29
29
const tvVolume = new ZfsHddVolume ( chart , "plex-tv-hdd-pvc" , {
30
- storage : Size . tebibytes ( 8 ) ,
30
+ storage : Size . tebibytes ( 2 ) ,
31
31
} ) ;
32
32
const downloadsVolume = new ZfsHddVolume ( chart , "qbittorrent-hdd-pvc" , {
33
33
storage : Size . tebibytes ( 1 ) ,
34
34
} ) ;
35
35
const moviesVolume = new ZfsHddVolume ( chart , "plex-movies-hdd-pvc" , {
36
- storage : Size . tebibytes ( 8 ) ,
36
+ storage : Size . tebibytes ( 2 ) ,
37
37
} ) ;
38
38
39
39
// TODO: create one namespace/argocd app per service
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ export function createStorageClasses(chart: Chart) {
15
15
allowVolumeExpansion : true ,
16
16
reclaimPolicy : "Retain" ,
17
17
parameters : {
18
- "csi.storage.k8s.io/fstype" : "zfs" ,
18
+ fstype : "zfs" ,
19
+ // "csi.storage.k8s.io/fstype": "zfs",
19
20
poolname : "zfspv-pool-nvme" ,
20
21
compression : "off" ,
21
22
dedup : "off" ,
@@ -31,7 +32,8 @@ export function createStorageClasses(chart: Chart) {
31
32
allowVolumeExpansion : true ,
32
33
reclaimPolicy : "Retain" ,
33
34
parameters : {
34
- "csi.storage.k8s.io/fstype" : "zfs" ,
35
+ fstype : "zfs" ,
36
+ // "csi.storage.k8s.io/fstype": "zfs",
35
37
poolname : "zfspv-pool-hdd" ,
36
38
compression : "off" ,
37
39
dedup : "off" ,
You can’t perform that action at this time.
0 commit comments