Add some scripts that are helpful for configuring kubernetes.
This commit is contained in:
parent
84bd6be8e6
commit
2b54630053
@ -71,6 +71,7 @@ in
|
|||||||
alias_kd
|
alias_kd
|
||||||
alias_klog
|
alias_klog
|
||||||
decrypt_k8s_secret
|
decrypt_k8s_secret
|
||||||
|
ingress2gateway # Convert ingress yaml to gateway yaml
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
|
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
|
||||||
|
@ -48,6 +48,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
(lib.mkIf config.me.kubernetes.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
tfk8s # Converts k8s yaml manifests to terraform kubernetes_manifest.
|
||||||
|
k2tf # Converts k8s yaml manifests to terraform real types.
|
||||||
|
];
|
||||||
|
})
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user