chore(forgejo): Update to 7.0.5
This commit is contained in:
parent
e578de7fe9
commit
dff11e742b
3 changed files with 50 additions and 48 deletions
|
@ -7,7 +7,10 @@
|
|||
"repository.pull-request".DEFAULT_MERGE_STYLE = "merge";
|
||||
"repository.signing".DEFAULT_TRUST_MODEL = "committer";
|
||||
ui.DEFAULT_THEME = "forgejo-light";
|
||||
oauth2.ENABLED = false;
|
||||
oauth2 = {
|
||||
ENABLED = false;
|
||||
JWT_SECRET = "ref+sops://secrets/kubernetes.yaml#/forgejo/jwtSecret";
|
||||
};
|
||||
|
||||
DEFAULT = {
|
||||
APP_NAME = "Forgejo: Beyond coding. We forge.";
|
||||
|
|
|
@ -11,52 +11,53 @@
|
|||
};
|
||||
};
|
||||
|
||||
deployments = {
|
||||
forgejo = {
|
||||
metadata.labels = {
|
||||
app = "forgejo";
|
||||
component = "forgejo";
|
||||
deployments.forgejo = {
|
||||
metadata.labels = {
|
||||
app = "forgejo";
|
||||
component = "forgejo";
|
||||
};
|
||||
|
||||
spec = {
|
||||
selector.matchLabels.app = "forgejo";
|
||||
|
||||
strategy = {
|
||||
type = "RollingUpdate";
|
||||
|
||||
rollingUpdate = {
|
||||
maxSurge = 0;
|
||||
maxUnavailable = 1;
|
||||
};
|
||||
};
|
||||
|
||||
spec = {
|
||||
selector.matchLabels = {
|
||||
app = "forgejo";
|
||||
component = "forgejo";
|
||||
};
|
||||
template = {
|
||||
metadata.labels.app = "forgejo";
|
||||
|
||||
template = {
|
||||
metadata.labels = {
|
||||
app = "forgejo";
|
||||
component = "forgejo";
|
||||
spec = {
|
||||
containers.forgejo = {
|
||||
image = "codeberg.org/forgejo/forgejo:7.0.5";
|
||||
envFrom = [{ configMapRef.name = "forgejo-env"; }];
|
||||
|
||||
ports = {
|
||||
web.containerPort = 3000;
|
||||
ssh.containerPort = 22;
|
||||
};
|
||||
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}
|
||||
{
|
||||
name = "config";
|
||||
mountPath = "/data/gitea/conf/app.ini";
|
||||
subPath = "config";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
spec = {
|
||||
containers.forgejo = {
|
||||
image = "codeberg.org/forgejo/forgejo:7.0.1";
|
||||
envFrom = [{ configMapRef.name = "forgejo-env"; }];
|
||||
|
||||
ports = {
|
||||
web.containerPort = 3000;
|
||||
ssh.containerPort = 22;
|
||||
};
|
||||
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/data";
|
||||
}
|
||||
{
|
||||
name = "config";
|
||||
mountPath = "/data/gitea/conf/app.ini";
|
||||
subPath = "config";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes = {
|
||||
data.persistentVolumeClaim.claimName = "forgejo";
|
||||
config.configMap.name = "forgejo-config";
|
||||
};
|
||||
volumes = {
|
||||
data.persistentVolumeClaim.claimName = "forgejo";
|
||||
config.configMap.name = "forgejo-config";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -65,10 +66,7 @@
|
|||
|
||||
services = {
|
||||
forgejo-web.spec = {
|
||||
selector = {
|
||||
app = "forgejo";
|
||||
component = "forgejo";
|
||||
};
|
||||
selector.app = "forgejo";
|
||||
|
||||
ports.web = {
|
||||
port = 80;
|
||||
|
|
Reference in a new issue